First of all, thanks for this delightful library! This is not a feature request nor exactly a bug, I guess somewhere in the middle, so I didn't use any template.
I would like to extend TextInput. To do so, I need the prop type, TextInputProp. As of today, I have to import the types like this:
import { TextInputProps } from 'react-native-paper/lib/typescript/src/components/TextInput/TextInput'
This is very unsatisfying, because this path could change at any time and depends on your build logic. A tool such as api-extractor would rightfully forbid you from not exporting indirect types, as it undermines the clear identification of your library API surface and prevent users from easily extending core features.
Component props are obviously part of the API surface, and as such must be exported.
First of all, thanks for this delightful library! This is not a feature request nor exactly a bug, I guess somewhere in the middle, so I didn't use any template.
I would like to extend
TextInput. To do so, I need the prop type,TextInputProp. As of today, I have to import the types like this:This is very unsatisfying, because this path could change at any time and depends on your build logic. A tool such as
api-extractorwould rightfully forbid you from not exporting indirect types, as it undermines the clear identification of your library API surface and prevent users from easily extending core features.Component props are obviously part of the API surface, and as such must be exported.