15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
|
|
import type { FC } from 'react'
|
||
|
|
import type { {{name.pascalCase}}LayoutProps } from './types/{{name.kebabCase}}.interface'
|
||
|
|
import styles from './styles/{{name.kebabCase}}.module.css'
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Layout {{name.pascalCase}}.
|
||
|
|
*/
|
||
|
|
export const {{name.pascalCase}}Layout: FC<{{name.pascalCase}}LayoutProps> = ({ children }) => {
|
||
|
|
return (
|
||
|
|
<div className={styles.root}>
|
||
|
|
{children}
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|