mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
chore: prettier
This commit is contained in:
parent
ccf89d8480
commit
70fa51d4a1
67 changed files with 1811 additions and 1838 deletions
|
@ -1,28 +1,28 @@
|
|||
import * as React from "react";
|
||||
import { FaderOpacity, FaderSlide } from "./Fader";
|
||||
import { Button } from "roleypoly/src/design-system/atoms/button";
|
||||
import { action } from "@storybook/addon-actions";
|
||||
import * as React from 'react';
|
||||
import { FaderOpacity, FaderSlide } from './Fader';
|
||||
import { Button } from 'roleypoly/src/design-system/atoms/button';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
|
||||
export default {
|
||||
title: "Atoms/Fader",
|
||||
component: FaderSlide,
|
||||
args: {
|
||||
isVisible: true,
|
||||
},
|
||||
title: 'Atoms/Fader',
|
||||
component: FaderSlide,
|
||||
args: {
|
||||
isVisible: true,
|
||||
},
|
||||
};
|
||||
|
||||
export const Opacity = (args) => {
|
||||
return (
|
||||
<FaderOpacity {...args}>
|
||||
<Button onClick={action("onClick")}>Click me!</Button>
|
||||
</FaderOpacity>
|
||||
);
|
||||
return (
|
||||
<FaderOpacity {...args}>
|
||||
<Button onClick={action('onClick')}>Click me!</Button>
|
||||
</FaderOpacity>
|
||||
);
|
||||
};
|
||||
|
||||
export const Slide = (args) => {
|
||||
return (
|
||||
<FaderSlide {...args}>
|
||||
<Button onClick={action("onClick")}>Click me!</Button>
|
||||
</FaderSlide>
|
||||
);
|
||||
return (
|
||||
<FaderSlide {...args}>
|
||||
<Button onClick={action('onClick')}>Click me!</Button>
|
||||
</FaderSlide>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue