import classNames from 'classnames'; import * as React from 'react'; export type ListItemIconPropsType = { children?: React.ReactNode; className?: string; small?: boolean; } & Omit< React.AllHTMLAttributes, 'children' | 'className' | 'small' >; const ListItemIcon = ({ small, children, className, ...props }: ListItemIconPropsType) => { const iconClass = classNames( 'sg-list__icon', { 'sg-list__icon--spacing-right-small': small, }, className ); return (
{children}
); }; export default ListItemIcon;