UNPKG

@react-spectrum/s2

Version:
1 lines 1.97 kB
{"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAQc,kDAAqB,KAA2C;IAC7E,CAAC,MAAM,GAAG,CAAA,GAAA,sBAAc,EAAE,OAAO,MAAM,CAAA,GAAA,yCAAkB;IACzD,IAAI,QAAC,OAAO,KAAK,GAAG,YAAW,GAAG;IAClC,OAAQ;QACN,KAAK;YACH,qBAAO,gBAAC,CAAA,GAAA,wCAAY;gBAAG,GAAG,UAAU;;QACtC,KAAK;YACH,qBAAO,gBAAC,CAAA,GAAA,wCAAY;gBAAG,GAAG,UAAU;;QACtC,KAAK;YACH,qBAAO,gBAAC,CAAA,GAAA,wCAAY;gBAAG,GAAG,UAAU;;IACxC;AACF","sources":["packages/@react-spectrum/s2/spectrum-illustrations/gradient/generic1/GearSetting.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport GearSetting_L from 'illustration:./S2_fill_gearSetting_generic1_160.svg';\nimport GearSetting_M from 'illustration:./S2_fill_gearSetting_generic1_96.svg';\nimport GearSetting_S from 'illustration:./S2_fill_gearSetting_generic1_48.svg';\nimport {IconProps, IllustrationContext} from '../../../src/Icon';\nimport {useContextProps} from 'react-aria-components';\n\nexport default function GearSetting(props: IconProps & {size?: 'L' | 'S' | 'M'}) {\n [props] = useContextProps(props, null, IllustrationContext);\n let {size = 'M', ...otherProps} = props;\n switch (size) {\n case 'L':\n return <GearSetting_L {...otherProps} />;\n case 'S':\n return <GearSetting_S {...otherProps} />;\n case 'M':\n return <GearSetting_M {...otherProps} />;\n }\n}\n"],"names":[],"version":3,"file":"GearSetting.mjs.map"}