/
kaws
/
ui-kit-ce
Обзор
Документация
Войти
/
kaws
/
ui-kit-ce
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/inline-notification/src/assets/IconError.tsx
23 строки
703 B
Денис Святовец
feat(inline-notification): добавлен новый компонент
15 апр 2024, 16:33
15 апр 2024, 16:33
4a6d4df
Код
Авторство
О чём код?
import * as React from 'react' interface Props extends React.SVGAttributes<SVGElement> {} const svgPath = 'M22.5 12C22.5 17.799 17.799 22.5 12 22.5C6.20101 22.5 1.5 17.799 1.5 12C1.5 6.20101 6.20101 1.5 12 1.5C17.799 1.5 22.5 6.20101 22.5 12ZM13.5 10.5V18H10.5V10.5H13.5ZM13.5 9V6H10.5V9H13.5Z' // eslint-disable-line max-len // TODO: replace with new icon later export const IconError: React.FC<Props> = ({ width = 24, height = 24, viewBox = '0 0 24 24', fill = 'currentColor', ...props }) => { return ( <svg {...props} width={width} height={height} viewBox={viewBox} fill={fill}> <path d={svgPath} fillRule="evenodd" /> </svg> ) } IconError.displayName = 'IconError'