UNPKG

@react-spectrum/s2

Version:
61 lines (54 loc) 2.5 kB
import "./Asterisk.css"; import $62d01593dd48309a$export$2e2bcd8739ae039 from "./S2_AsteriskSize200.mjs"; import $b9479532c17a0eb6$export$2e2bcd8739ae039 from "./S2_AsteriskSize100.mjs"; import $424c8bf06ece899d$export$2e2bcd8739ae039 from "./S2_AsteriskSize300.mjs"; import {jsx as $7AxvV$jsx} from "react/jsx-runtime"; /* * Copyright 2024 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ let $8373af657584cab2$var$styles = function anonymous(props) { let rules = " "; if (props.size === "XL") rules += ' Zi91'; else if (props.size === "L") rules += ' Zi91'; else if (props.size === "M") rules += ' Zh91'; if (props.size === "XL") rules += ' Fj91'; else if (props.size === "L") rules += ' Fj91'; else if (props.size === "M") rules += ' Fi91'; return rules; }; function $8373af657584cab2$export$2e2bcd8739ae039(props) { let { size: size = 'M', ...otherProps } = props; switch(size){ case 'M': return /*#__PURE__*/ (0, $7AxvV$jsx)((0, $b9479532c17a0eb6$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $8373af657584cab2$var$styles({ size: size }) }); case 'L': return /*#__PURE__*/ (0, $7AxvV$jsx)((0, $62d01593dd48309a$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $8373af657584cab2$var$styles({ size: size }) }); case 'XL': return /*#__PURE__*/ (0, $7AxvV$jsx)((0, $424c8bf06ece899d$export$2e2bcd8739ae039), { ...otherProps, className: (otherProps.className || '') + $8373af657584cab2$var$styles({ size: size }) }); } } export {$8373af657584cab2$export$2e2bcd8739ae039 as default}; //# sourceMappingURL=Asterisk.mjs.map