import React, { FC } from 'react' type ListItemIconProps = { icon: JSX.Element } const ListItemIcon: FC = ({ icon }) => { return (
{icon}
) } type ListItemTextProps = { text?: string } const ListItemText: FC = ({ text }) => { return (

{text ?? ''}

) } type ListItemProps = { icon?: JSX.Element text?: string } export const ListItem: FC = ({ icon, text, children }) => { return (
  • {icon && } {text && } {children}
  • ) } type ListProps = { className?: string } export const List: FC = ({ className = '', children, }) => { return (
      {children}
    ) }