Created
July 4, 2024 05:53
-
-
Save night-fury-rider/074a7839a85178afadb16523cf119154 to your computer and use it in GitHub Desktop.
Interface for React Native Component Props
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {StyleProp, ViewStyle} from 'react-native'; | |
interface IInputProps { | |
inputValue: string | number; | |
handleChange?: (updatedValue: string) => void; | |
inputLabel?: string; | |
customStyle?: StyleProp<ViewStyle>; | |
} | |
export type {IInputProps}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment