import React from 'react'; import type { ComponentMeta } from '@storybook/react-native'; import { BoxStory as Box } from './Box'; import { BoxWithRefExample as BoxWithRef } from './BoxWithRef'; // var st = document.createElement('style'); // // st.innerHTML = `#story--actionsheet--basic{ height: 350px }`; // document.body.append(st); // let colors: any = config?.tokens?.colors; // if (!colors) colors = []; const MyBoxMeta: ComponentMeta = { title: 'stories/LAYOUT/Box', component: Box, args: { bg: 'red500', w: 100, h: 100 }, parameters: { docs: { page: () => ( <>

Tip: Common use cases for Box component are:

), }, }, }; BoxWithRef.parameters = { controls: { exclude: /.*/g, }, }; export default MyBoxMeta; export { Box }; export { BoxWithRef };