@ozen-ui/icons
Version:
A collection of icons
21 lines (20 loc) • 1.12 kB
JavaScript
import { __assign, __rest } from "tslib";
import React, { forwardRef } from 'react';
import { deprecate } from '@ozen-ui/logger';
import { ArrowSmallLeftMIcon } from './ArrowSmallLeftMIcon';
import { ArrowSmallLeftSIcon } from './ArrowSmallLeftSIcon';
/** @deprecated Компонент иконки устарел. */
export var ArrowSmallLeftIcon = 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 \u00ABArrowSmallLeftIcon\u00BB \u0443\u0441\u0442\u0430\u0440\u0435\u043B.");
switch (size) {
case 's':
return React.createElement(ArrowSmallLeftSIcon, __assign({}, otherProps, { ref: ref }));
case 'm':
return React.createElement(ArrowSmallLeftMIcon, __assign({}, otherProps, { ref: ref }));
default:
return React.createElement(ArrowSmallLeftMIcon, __assign({}, otherProps, { ref: ref }));
}
});
ArrowSmallLeftIcon.displayName = 'ArrowSmallLeftIcon';