react-native-pro-components
v0.1.0
Published
custom compoenent
Downloads
1
Readme
react-native-pro-component
custom components
Installation
npm install react-native-pro-component
Usage
import { ProFloatingLabelInput, v } from 'react-native-pro-component';
// ...
<ProFloatingLabelInput
value={value}
onChangeText={function (value: string): void {
setValue(value);
}}
placeholder={'place holder'}
parentStyle={{ marginTop: 20 }}
label={'label'}
labelColor={''}
/>
<Switch
value={enable}
onValueChange={(value: boolean) => setEnable(!value)}
containerStyle={{ marginTop: 10 }}
renderActiveText={false}
renderInActiveText={false}
/>
you can use helper class ex.matrix,platform,predefine colors, validations, fontSize,
import {
validAlhphaNumaric,
Colors,
isWeb,
fontSize,
} from 'react-native-pro-component';
// ...
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library