UNPKG

@ozen-ui/icons

Version:

A collection of icons

21 lines (20 loc) 1.15 kB
import { __assign, __rest } from "tslib"; import React, { forwardRef } from 'react'; import { deprecate } from '@ozen-ui/logger'; import { ErrorCircleFilledMIcon } from './ErrorCircleFilledMIcon'; import { ErrorCircleFilledSIcon } from './ErrorCircleFilledSIcon'; /** @deprecated Компонент иконки устарел. */ export var ErrorCircleFilledIcon = forwardRef(function (_a, ref) { var size = _a.size, otherProps = __rest(_a, ["size"]); if (process.env.NODE_ENV !== 'production') deprecate("\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0438\u043A\u043E\u043D\u043A\u0438 \u00ABErrorCircleFilledIcon\u00BB \u0443\u0441\u0442\u0430\u0440\u0435\u043B."); switch (size) { case 's': return React.createElement(ErrorCircleFilledSIcon, __assign({}, otherProps, { ref: ref })); case 'm': return React.createElement(ErrorCircleFilledMIcon, __assign({}, otherProps, { ref: ref })); default: return React.createElement(ErrorCircleFilledMIcon, __assign({}, otherProps, { ref: ref })); } }); ErrorCircleFilledIcon.displayName = 'ErrorCircleFilledIcon';