import { BuiltInGlamorousComponentFactory } from './component-factory' import { ViewProperties, TextStyle, ViewStyle, ImageStyle, TextInputProperties, ImageProperties, ScrollViewProps, TextProperties, TouchableHighlightProperties, TouchableNativeFeedbackProperties, TouchableOpacityProperties, TouchableWithoutFeedbackProps, FlatListProperties, SectionListProperties } from 'react-native' export type NativeGlamorousComponentFactory< ElementProps, Properties > = BuiltInGlamorousComponentFactory export interface NativeComponentFactory { image: NativeGlamorousComponentFactory scrollView: NativeGlamorousComponentFactory text: NativeGlamorousComponentFactory textInput: NativeGlamorousComponentFactory touchableHighlight: NativeGlamorousComponentFactory< TouchableHighlightProperties, ViewStyle > touchableNativeFeedback: NativeGlamorousComponentFactory< TouchableNativeFeedbackProperties, ViewStyle > touchableOpacity: NativeGlamorousComponentFactory< TouchableOpacityProperties, ViewStyle > touchableWithoutFeedback: NativeGlamorousComponentFactory< TouchableWithoutFeedbackProps, ViewStyle > view: NativeGlamorousComponentFactory flatList: NativeGlamorousComponentFactory, ViewStyle> sectionList: NativeGlamorousComponentFactory< SectionListProperties, ViewStyle > } export type ComponentKey = keyof NativeComponentFactory