sapo-components-ui-rn
v1.1.75
Published
React Native UI Components Library
Maintainers
Readme
sapo-components-ui-rn
Thư viện UI Components cho React Native được phát triển bởi Sapo.
Cài đặt
npm install sapo-components-ui-rn
# or
yarn add sapo-components-ui-rnYêu cầu
Thư viện này yêu cầu các peer dependencies sau:
{
"react": ">=18.0.0",
"react-native": ">=0.70.0",
"@react-native-community/masked-view": "*",
"react-native-gesture-handler": "*",
"react-native-reanimated": "*",
"react-native-safe-area-context": "*",
"react-native-screens": "*"
}Sử dụng
import { Button } from '@sapo/components-ui-rn';
function MyComponent() {
return (
<Button disabled textStyle={{...}} title="My Button" onPress={()=> {}}/>
);
}Components
Thư viện bao gồm các components sau:
- Avatar
- Badge
- Button
- ButtonIcon
- Checkbox
- ChipBar
- CountingDot
- FloatingButton
- Image
- RadioButton
- SearchInput
- SelectionField
- Spacer
- Switch
- Text
- TextInput
- TextArea
- Toast
- View
Giấy phép
Sapo.vn
