You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
512 B
22 lines
512 B
import React from 'react';
|
|
import HoldToRevealButton from './hold-to-reveal-button';
|
|
|
|
export default {
|
|
title: 'Components/App/HoldToRevealButton',
|
|
id: __filename,
|
|
argTypes: {
|
|
buttonText: { control: 'text' },
|
|
onLongPressed: { action: 'Revealing the SRP' },
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => {
|
|
return <HoldToRevealButton {...args} />;
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|
|
DefaultStory.args = {
|
|
buttonText: 'Hold to reveal SRP',
|
|
onLongPressed: () => console.log('Revealed'),
|
|
};
|
|
|