{"version":3,"file":"icon.mjs","names":[],"sources":["../../../../../../packages/components/icon/src/icon.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Icon from './icon.vue'\n\nexport interface IconProps {\n  /**\n   * @description SVG icon size, size x size\n   */\n  size?: number | string\n  /**\n   * @description SVG tag's fill attribute\n   */\n  color?: string\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `IconProps` instead.\n */\nexport const iconProps = buildProps({\n  /**\n   * @description SVG icon size, size x size\n   */\n  size: {\n    type: definePropType<number | string>([Number, String]),\n  },\n  /**\n   * @description SVG tag's fill attribute\n   */\n  color: {\n    type: String,\n  },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `IconProps` instead.\n */\nexport type IconPropsPublic = ExtractPublicPropTypes<typeof iconProps>\nexport type IconInstance = InstanceType<typeof Icon> & unknown\n"],"mappings":";;;;;;AAmBA,MAAa,YAAY,WAAW;CAIlC,MAAM,EACJ,MAAM,eAAgC,CAAC,QAAQ,OAAO,CAAC,EACxD;CAID,OAAO,EACL,MAAM,QACP;CACF,CAAU"}