diff --git a/stories/libraries/Paper/Card.stories.tsx b/stories/libraries/Paper/Card.stories.tsx index 9aa962a..86db065 100644 --- a/stories/libraries/Paper/Card.stories.tsx +++ b/stories/libraries/Paper/Card.stories.tsx @@ -2,16 +2,18 @@ import React from 'react'; import { ComponentMeta, ComponentStoryObj } from '@storybook/react'; import { Provider as PaperProvider, DefaultTheme } from 'react-native-paper'; import { Card } from './Card'; +import { View } from 'react-native'; export default { component: Card, - decorators: [ - (Story) => ( - - - - ), - ], + + render: (args) => ( + + + + + + ), } as ComponentMeta; export const Basic: ComponentStoryObj = { diff --git a/stories/libraries/Paper/Card.tsx b/stories/libraries/Paper/Card.tsx index 34edf83..1b33bba 100644 --- a/stories/libraries/Paper/Card.tsx +++ b/stories/libraries/Paper/Card.tsx @@ -30,7 +30,10 @@ export const Card = ({ title, content, onCancel, onConfirm }: CardProps) => ( {content} - + diff --git a/stories/libraries/Paper/picture.png b/stories/libraries/Paper/picture.png new file mode 100644 index 0000000..60c99c6 Binary files /dev/null and b/stories/libraries/Paper/picture.png differ