react-native-fontawesome-pro
Version:
Easily use your FontAwesome Pro 5.1 icons in React-Native.
19 lines (15 loc) • 481 B
TypeScript
import { ViewStyle, ViewProps } from "react-native";
import { SvgProps } from "react-native-svg";
export interface IconProps extends ViewProps {
name?: string;
size?: number;
color?: string;
type?: "regular" | "light" | "solid" | "brands";
containerStyle?: ViewStyle;
iconStyle?: ViewStyle;
onPress?: () => void;
activeOpacity?: number;
}
export function configureFontAwesomePro(): void;
declare const Icon: React.ComponentClass<IconProps>;
export default Icon;