;
children: ReactNode;
type?: ListItemType;
}
function ListItemContent({
icon: ListItemIcon,
children,
type,
}: ListItemContentProps) {
return (
<>
{ListItemIcon && }
{typeof children === "string" ? (
{children}
) : (
children
)}
{type && {type}}
>
);
}
export default function ListItem(props: ButtonProps & LinkProps) {
const Wrapper = props.href ? Link : Button;
return ;
}