(component: string, props: Record<string, string | null | undefined>)
| 25 | } |
| 26 | |
| 27 | export const formatJsxComponent = (component: string, props: Record<string, string | null | undefined>) => { |
| 28 | const formattedProps = formatProps(props, { keyValueSeparator: '=', propSeparator: ' ', quoteStyle: 'double' }) |
| 29 | return `<${component}${formattedProps ? ' ' + formattedProps : ''} />` |
| 30 | } |
| 31 | |
| 32 | export const collectCompositionStyles = ( |
| 33 | values: Record<string, any>, |
no test coverage detected