koval-ui
Version:
React components collection with minimalistic design. Supports theming, layout, and input validation.
1 lines • 808 B
Source Map (JSON)
{"version":3,"file":"IconError.cjs","sources":["../../../../src/internal/Icons/IconError.tsx"],"sourcesContent":["import type {FC, SVGProps} from 'react';\nimport Icon from '@phosphor-icons/core/assets/fill/warning-circle-fill.svg?react';\nimport classNames from 'classnames';\n\nimport classes from './Icon.module.css';\n\ntype Props = SVGProps<SVGSVGElement> & {\n className?: string;\n};\n\nexport const IconError: FC<Props> = ({className, ...restProps}) => {\n return <Icon className={classNames(classes.icon, classes.error, className)} {...restProps} />;\n};\n"],"names":["IconError","className","restProps","jsx","Icon","classNames","classes"],"mappings":"uOAUaA,EAAuB,CAAC,CAAC,UAAAC,EAAW,GAAGC,KACzCC,EAAA,IAACC,EAAK,CAAA,UAAWC,EAAWC,EAAA,QAAQ,KAAMA,EAAAA,QAAQ,MAAOL,CAAS,EAAI,GAAGC,CAAW,CAAA"}