@ozen-ui/icons
Version:
A collection of icons
20 lines (19 loc) • 1.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlasticCardActiveIcon = void 0;
var tslib_1 = require("tslib");
var react_1 = tslib_1.__importStar(require("react"));
var PlasticCardActiveMIcon_1 = require("./PlasticCardActiveMIcon");
var PlasticCardActiveSIcon_1 = require("./PlasticCardActiveSIcon");
exports.PlasticCardActiveIcon = (0, react_1.forwardRef)(function (_a, ref) {
var size = _a.size, otherProps = tslib_1.__rest(_a, ["size"]);
switch (size) {
case 's':
return react_1.default.createElement(PlasticCardActiveSIcon_1.PlasticCardActiveSIcon, tslib_1.__assign({}, otherProps, { ref: ref }));
case 'm':
return react_1.default.createElement(PlasticCardActiveMIcon_1.PlasticCardActiveMIcon, tslib_1.__assign({}, otherProps, { ref: ref }));
default:
return react_1.default.createElement(PlasticCardActiveMIcon_1.PlasticCardActiveMIcon, tslib_1.__assign({}, otherProps, { ref: ref }));
}
});
exports.PlasticCardActiveIcon.displayName = 'PlasticCardActiveIcon';