import type { ComponentStory } from '@storybook/react-native'; import { Text, Center } from '../../../ui-components'; import React from 'react'; import Wrapper from '../../Wrapper'; type MyCenterStory = ComponentStory; const CenterExample: MyCenterStory = () => { return (
This is the center.
); }; export const BasicCenterExample = CenterExample.bind({}); BasicCenterExample.parameters = { docs: { description: { story: "Put any child element inside it, give it any width or/and height. It'll ensure the child is centered.", }, }, }; export { Text, Center };