"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readme = void 0;
const utils_1 = require("../utils");
const readme = (moduleName) => {
const componentName = (0, utils_1.moduleNameAsComponent)(moduleName);
return `# @hey-mirror/${moduleName}
Example
```js
import styled from '@emotion/styled';
import { ${componentName} } from '@hey-mirror/today';
const Wrapper = styled.div({
display: 'flex',
flexDirection: 'column',
gap: 8,
});
export const Display = () => (
<${componentName} />
);
```
API
`<${componentName} />`
Prop | Default | Type |
---|
`children` | - | `ReactNode` |
`;
};
exports.readme = readme;
//# sourceMappingURL=readme.js.map