import { configure , addDecorator , addParameters , addArgsEnhancer , } from "@storybook/react-native" ; import "@storybook/addon-ondevice-notes/register" ; import "@storybook/addon-ondevice-backgrounds/register" ; import "@storybook/addon-ondevice-actions/register" ; import { argsEnhancers } from "@storybook/addon-actions/dist/modern/preset/addArgs" ; import { decorators , parameters } from "./preview" ; if ( decorators ) { decorators . forEach ( ( decorator ) => addDecorator ( decorator ) ) ; } if ( parameters ) { addParameters ( parameters ) ; } argsEnhancers . forEach ( ( enhancer ) => addArgsEnhancer ( enhancer ) ) ; const getStories = ( ) => { return [ require ( "../../packages/action-sheet-provider/stories/ActionSheetProvider.stories.tsx" ) , require ( "../../packages/backdrop-provider/stories/BackdropProvider.stories.tsx" ) , require ( "../../packages/button/stories/Button.stories.tsx" ) , require ( "../../packages/button/stories/InputButton.stories.tsx" ) , require ( "../../packages/button/stories/Pressable.stories.tsx" ) , require ( "../../packages/date-picker/stories/DatePicker.stories.tsx" ) , require ( "../../packages/date-picker/stories/DateTimePicker.stories.tsx" ) , require ( "../../packages/date-picker/stories/MonthPicker.stories.tsx" ) , require ( "../../packages/date-picker/stories/TimePicker.stories.tsx" ) , require ( "../../packages/date-picker/stories/YearPicker.stories.tsx" ) , require ( "../../packages/modal-dialog/stories/ModalDialog.stories.tsx" ) , require ( "../../packages/select/stories/Select.stories.tsx" ) , ] ; } ; configure ( getStories , module , false ) ;