import type { FC, LiHTMLAttributes } from 'react'; import styles from './list.module.scss'; export type ListItemProps = LiHTMLAttributes; /** * ListItem component * * Used it inside a `` component. */ export const ListItem: FC = ({ children, className = '', ...props }) => { const itemClass = `${styles.item} ${className}`; return (
  • {children}
  • ); };