type ViewProps = React.ComponentProps<typeof View> // or type InputProps = React.ComponentProps<'input'>