UNPKG

@gluestack-ui/core

Version:

Universal UI components for React Native, Expo, and Next.js

21 lines 712 B
import React from 'react'; import type { ColorValue, ViewProps } from 'react-native'; interface CreateIconOptions { viewBox?: string; path?: React.ReactElement | React.ReactElement[]; d?: string; displayName?: string; defaultProps?: any; type?: any; } export interface IIconProps extends ViewProps { } export type IIconComponentType<IconProps> = React.ForwardRefExoticComponent<IIconProps & IconProps>; export declare function createIcon<IconProps>({ Root, path, d, ...initialProps }: { Root: React.ComponentType<IconProps>; } & CreateIconOptions): IIconComponentType<IconProps | { fill?: ColorValue; stroke?: ColorValue; }>; export {}; //# sourceMappingURL=index.web.d.ts.map