UNPKG

@yamada-ui/icon

Version:

Yamada UI icon components

42 lines (39 loc) 1.24 kB
import * as _yamada_ui_core from '@yamada-ui/core'; import { HTMLUIProps, ThemeProps, CSSUIProps, FC } from '@yamada-ui/core'; interface IconOptions { /** * The CSS `font-size` property. * * @deprecated Use `fontSize` instead. */ size?: CSSUIProps["fontSize"]; } interface IconProps extends HTMLUIProps<"svg">, Omit<ThemeProps<"Icon">, "size">, IconOptions { } /** * `Icon` is a general icon component that can be used in your projects. * * @see Docs https://yamada-ui.com/components/media-and-icons/icon */ declare const Icon: _yamada_ui_core.Component<"svg", IconProps>; /** * @deprecated Use icons from `@yamada-ui/lucide` instead. */ declare const CheckIcon: FC<IconProps>; /** * @deprecated Use icons from `@yamada-ui/lucide` instead. */ declare const InfoIcon: FC<IconProps>; /** * @deprecated Use icons from `@yamada-ui/lucide` instead. */ declare const WarningIcon: FC<IconProps>; /** * @deprecated Use icons from `@yamada-ui/lucide` instead. */ declare const CloseIcon: FC<IconProps>; /** * @deprecated Use icons from `@yamada-ui/lucide` instead. */ declare const ChevronIcon: FC<IconProps>; export { CheckIcon, ChevronIcon, CloseIcon, Icon, type IconProps, InfoIcon, WarningIcon };