import classNames from 'classnames'
import React from 'react'
import { bsVersion } from '@/features/utils/bootstrap-5'
type IconProps = React.ComponentProps<'i'> & {
type: string
accessibilityLabel?: string
modifier?: string
}
function MaterialIcon({
type,
className,
accessibilityLabel,
modifier,
...rest
}: IconProps) {
const iconClassName = classNames('material-symbols', className, modifier)
return (
<>
{type}
{accessibilityLabel && (
{accessibilityLabel}
)}
>
)
}
export default MaterialIcon