You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.1 KiB
55 lines
2.1 KiB
import React from 'react';
|
|
import { ViewStyle, StyleProp, TextStyle, TouchableHighlightProps } from 'react-native';
|
|
import { IconButtonProps, IconProps as VectorIconProps } from 'react-native-vector-icons/Icon';
|
|
import { RneFunctionComponent } from '../helpers';
|
|
export declare type IconType = 'material' | 'material-community' | 'simple-line-icon' | 'zocial' | 'font-awesome' | 'octicon' | 'ionicon' | 'foundation' | 'evilicon' | 'entypo' | 'antdesign' | 'font-awesome-5' | string;
|
|
export interface IconObject extends TouchableHighlightProps {
|
|
name?: string;
|
|
color?: string;
|
|
size?: number;
|
|
type?: IconType;
|
|
iconStyle?: StyleProp<TextStyle>;
|
|
}
|
|
export declare type IconNode = boolean | React.ReactElement<{}> | Partial<IconProps>;
|
|
export declare type IconProps = IconButtonProps & {
|
|
type?: IconType;
|
|
Component?: typeof React.Component;
|
|
reverse?: boolean;
|
|
raised?: boolean;
|
|
containerStyle?: StyleProp<ViewStyle>;
|
|
iconProps?: VectorIconProps;
|
|
reverseColor?: string;
|
|
disabled?: boolean;
|
|
disabledStyle?: StyleProp<ViewStyle>;
|
|
solid?: boolean;
|
|
brand?: boolean;
|
|
};
|
|
declare const Icon: RneFunctionComponent<IconProps>;
|
|
export { Icon };
|
|
declare const _default: React.FunctionComponent<Omit<IconButtonProps & {
|
|
type?: string;
|
|
Component?: typeof React.Component;
|
|
reverse?: boolean;
|
|
raised?: boolean;
|
|
containerStyle?: StyleProp<ViewStyle>;
|
|
iconProps?: VectorIconProps;
|
|
reverseColor?: string;
|
|
disabled?: boolean;
|
|
disabledStyle?: StyleProp<ViewStyle>;
|
|
solid?: boolean;
|
|
brand?: boolean;
|
|
} & Partial<import("../config").ThemeProps<IconProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<IconButtonProps & {
|
|
type?: string;
|
|
Component?: typeof React.Component;
|
|
reverse?: boolean;
|
|
raised?: boolean;
|
|
containerStyle?: StyleProp<ViewStyle>;
|
|
iconProps?: VectorIconProps;
|
|
reverseColor?: string;
|
|
disabled?: boolean;
|
|
disabledStyle?: StyleProp<ViewStyle>;
|
|
solid?: boolean;
|
|
brand?: boolean;
|
|
} & Partial<import("../config").ThemeProps<IconProps>>>;
|
|
export default _default;
|