import {DialogButton} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";
<Meta title="Components/Inputs/DialogButton/old" component={DialogButton}/>
export const Template = (args) => <DialogButton
children={<div>Example body</div>}
{...args}
/>;
# DialogButton
This component renders a DialogButton.
## Props
<ArgsTable story="Default"/>
## Examples
<Story
name="Default"
args={{
dialogTitle: "Example Title",
isOpen: false,
action: () => {
},
}}
>
{Template.bind({})}
</Story>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter