import classNames from 'classnames' type IconOwnProps = { type: string accessibilityLabel?: string } type IconProps = IconOwnProps & Omit, keyof IconOwnProps> function MaterialIcon({ type, className, accessibilityLabel, ...rest }: IconProps) { const iconClassName = classNames('material-symbols-rounded', className) return ( <> {accessibilityLabel && ( {accessibilityLabel} )} ) } export default MaterialIcon