UNPKG

@metamask/design-system-react-native

Version:
20 lines 573 B
import type { ViewProps } from "react-native/index.js"; import type { IconName, IconProps } from "../Icon/index.mjs"; /** * BadgeIcon component props. */ export type BadgeIconProps = { /** * Required prop to specify an icon to show */ iconName: IconName; /** * Optional prop to pass additional properties to the icon */ iconProps?: Omit<IconProps, 'name'>; /** * Optional prop to add twrnc overriding classNames. */ twClassName?: string; } & Omit<ViewProps, 'children'>; //# sourceMappingURL=BadgeIcon.types.d.mts.map