@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
1 lines • 956 B
Source Map (JSON)
{"version":3,"file":"lucide-icon.cjs","names":["withContext","Icon","OriginalIcon"],"sources":["../../../../src/components/icon/lucide-icon.tsx"],"sourcesContent":["\"use client\"\n\nimport type { IconNode } from \"lucide-react\"\nimport type { IconProps } from \"./icon\"\nimport { Icon as OriginalIcon } from \"lucide-react\"\nimport { Icon, withContext } from \"./icon\"\n\nexport interface LucideIconProps extends IconProps {\n /**\n * The icon of the [Lucide lab](https://github.com/lucide-icons/lucide-lab).\n */\n iconNode?: IconNode\n}\n\n/**\n * `LucideIcon` is a component for using [Lucide lab](https://github.com/lucide-icons/lucide-lab) icons.\n *\n * @see https://yamada-ui.com/docs/components/icon\n */\nexport const LucideIcon = withContext<\"svg\", LucideIconProps>((props) => (\n <Icon as={OriginalIcon} {...props} />\n))()\n"],"mappings":";;;;;;;;;;;;;;;;AAmBA,MAAa,aAAaA,0BAAqC,UAC7D,2CAACC;CAAK,IAAIC;CAAc,GAAI;EAAS,CACrC,EAAE"}