Componetes React Native para Android
🚀 Project imperativo
📦 Muito leve (~xxx kB)
⌨️ Compatível com android
🎨 Layouts personalizáveis
🔧 Configuração flexível
WS_Ui_Component is an open-source mobile framework for developing interface and front-end components for applications, using ReactNative, TypeScript and JavaScript, improving the user experience in a friendly and responsive app.
This project is being maintained by a small developer, and any help with issues and pull requests is always appreciated. If you can and want to contribute, contact us by whats (xx) xxxx-xxxx
Before you begin, you will need to have the following tools installed on your machine:
Compatible with react-native >= 0.64.3
yarn add ws-ui-components
or
npm i ws-ui-components
$ git clone https://github.com/expfig/ws-ui-components.git
# Access the project folder cmd/terminal
$ cd ws-ui-components
# Install the dependencies
$ yarn install
Alterar no arquivo package a prop *main* de *index.ts*
altere para *dist/cjs/index.js*
<TextNativeWs
text="Simple Text"
align="center"
size={18}
color="#FFFFFF"
fontWeight="100"
/>
<InputWs
name="password"
height={50}
textLabel="Informe sua senha"
textAlign="left"
color="#FFFFFF"
colorTextLabel="#FFFFFF"
fontSize={16}
fontWeight="500"
right={0}
borderColor="#CDCDCD"
borderRadius={4}
borderWidth={1}
heightWrapperIcon={50}
icon
leftIconJsx={<SvgLockKey color="#FFFFFF" size={24}/>}
rightIconPasswordJsx={<SvgIconEye color="#FFFFFF" size={24}/>}
placeholder="*********"
placeholderTextColor="#6C757D"
paddingLeft={64}
secureTextEntry={true}
visiblityPassword={true}
/>
<CheckBoxWs
onPress={() => {}}
width={80}
height={40}
textLabel="Label"
colorTextLabel="light"
textSizeLabel={17}
backgroundColorCheck="#056CF2"
/>
<CreditCardWs
icon
back={false}
data={{
cvv: '098',
name: 'Weverson Luan De Sousa',
number: '4455787898754321',
validate: '08/2029'
}}
/>
<ButtonWs
onPress={()=> {}}
width="100%"
height={45}
backgroundColor="#17A2B8"
title={<TextNativeWs color="#FFFFF" fontWeight="500" letterSpacing={0.5} lineHeight={24} size={16} text="Text Native"/>}
borderColor="#17A2B8"
borderRadius={8}
borderWidth={1}
icon={<SvgIconUser color="#FFFFFF" size={24} style={{marginRight: 16}}/>}
/>
This project is under the license MIT.
Made by Weverson Luan De Sousa