import { MaterialCommunityIcons } from "@expo/vector-icons"; import React, { ComponentProps } from "react"; import { TextProps } from "react-native"; import { Color } from "../../styling"; export type IconName = keyof typeof MaterialCommunityIcons.glyphMap; type MaterialCommunityIconProps = ComponentProps; export type IconProps = MaterialCommunityIconProps & { /** * The name of the icon. */ name: IconName; /** * The size of the icon. */ size?: number; /** * The color of the icon. */ color?: Color; } & TextProps; export declare const Icon: { ({ name, size, color, ...rest }: IconProps): React.JSX.Element; displayName: string; }; export {};