/** * @docunator * @title ZenIconProps * @description Props for the ZenIcon component. * @category Themed Components Props */ type ZenIconProps = { name: string; style?: any; size?: number; color?: string; onPress?: () => void; disabled?: boolean; }; /** * @docunator * @title ZenIcon * @author Danilo Ramírez Mattey * @version 1.0.0 * @description A simple icon component that will adapt to the current theme and display the provided icon. If you want to overwrite the color, you can provide a color prop to change it. By default, the icon will adjust to the text color, size and format of the current theme. * @param {string} name The icon we want to use * @param {StyleSheet} style Additional styles for the icon * @param {number} size Number The size of the icon * @param {string} color The Color of the Icon. Default to text color of the theme * @param {function} onPress onPress action * @param {boolean} disabled Whether the icon is disabled. Default is false. * @category Themed Components * @example {tsx} import { ZenIcon } from 'react-zen-ui'; export default function ExampleComponent(){ return ( alert('Icon pressed!')} /> ); } {/tsx} @see ZenText @see ZenIconButton */ declare const _default: ({ name, style, size, color, onPress, disabled, }: ZenIconProps) => import("react/jsx-runtime").JSX.Element; export default _default; //# sourceMappingURL=ZenIcon.d.ts.map