(value: string)
| 5 | |
| 6 | export const formatFunctionValue = (value: string): string => (isBooleanValue(value) ? value : `'${value}'`) |
| 7 | export const formatJsxValue = (value: string): string => (isBooleanValue(value) ? `{${value}}` : `"${value}"`) |
| 8 | |
| 9 | export const buildFunctionProps = (key: string, value: string) => `${key}: ${formatFunctionValue(value)}` |
| 10 | export const buildJsxProps = (key: string, value: string) => `${key}=${formatJsxValue(value)}` |
no test coverage detected