Skip to main content

ReactNativeProps

reexport
type ReactNativeProps = Pick<ViewProps, Extract<keyof ViewProps, Exclude<keyof TextProps, "style">>>
  & Pick<TextProps, Extract<keyof TextProps, Exclude<keyof ViewProps, "style">>>
  & {
    style?: StyleProp<Pick<ViewStyle, Extract<keyof ViewStyle, keyof TextStyle>>>;
  }

Props available on both React Native Text and View components.