@react-spectrum/s2
Version:
Spectrum 2 UI components in React
57 lines (44 loc) • 2.3 kB
JavaScript
var $9eb618d05f8a63e0$exports = require("./internal/S2_fill_fileShared_generic2_160.cjs");
var $2fb1e7b7be1f9132$exports = require("./internal/S2_fill_fileShared_generic2_96.cjs");
var $4d8427bfe9b188a4$exports = require("./internal/S2_fill_fileShared_generic2_48.cjs");
var $bde97c91243ed164$exports = require("../../../icons/Icon.cjs");
var $50Qxb$reactjsxruntime = require("react/jsx-runtime");
var $50Qxb$reactariacomponents = require("react-aria-components");
function $parcel$defineInteropFlag(a) {
Object.defineProperty(a, '__esModule', {value: true, configurable: true});
}
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$defineInteropFlag(module.exports);
$parcel$export(module.exports, "default", () => $63dc5d687023d3d3$export$2e2bcd8739ae039);
/*
* 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.
*/
function $63dc5d687023d3d3$export$2e2bcd8739ae039(props) {
[props] = (0, $50Qxb$reactariacomponents.useContextProps)(props, null, (0, $bde97c91243ed164$exports.IllustrationContext));
let { size: size = 'M', ...otherProps } = props;
switch(size){
case 'L':
return /*#__PURE__*/ (0, $50Qxb$reactjsxruntime.jsx)((0, $9eb618d05f8a63e0$exports.default), {
...otherProps
});
case 'S':
return /*#__PURE__*/ (0, $50Qxb$reactjsxruntime.jsx)((0, $4d8427bfe9b188a4$exports.default), {
...otherProps
});
case 'M':
return /*#__PURE__*/ (0, $50Qxb$reactjsxruntime.jsx)((0, $2fb1e7b7be1f9132$exports.default), {
...otherProps
});
}
}
//# sourceMappingURL=FileShared.cjs.map