import React from 'react' ; import type { TComponentConfig } from 'autoprops' ; import { Block } from '@primitives/block' ; import { Paragraph } from './src' ; import type { TParagraph } from './src' ; export const config = { props : { children : [ 'Paragraph' , 'בוקר טוב' ] , align : [ 'start' , 'center' , 'end' ] , direction : [ 'right-to-left' , 'left-to-right' ] , } , required : [ 'children' ] , } ; export const Component = ( props ) => ( < Block width = { 300 } style = { { flexDirection : 'column' } } > < Paragraph { ... props } / > < /Block>); Component . displayName = 'Paragraph' ; export { default as packageJson } from './package.json' ;