0.2.0 • Published 1 year ago

react-native-dolphin-ui v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-dolphin-ui

React Native UI Kit

Installation

npm install react-native-dolphin-ui

Usage

import {
  Button,
  Container,
  Input,
  Loading,
  Panel,
  Select,
  BottomSheet,
} from 'react-native-dolphin-ui';

// ...

<Container>
  <Loading isShow={pageLoading} />
  <View style={styles.container}>
    <Panel title="Example form title">
      <Input label="Name" />
      <Input label="Surname" />
      <Input label="Password" secureTextEntry />
      <Select title="Choose your favorite team" options={options} />
      <Select
        title="Choose your favorite team (canDelete)"
        options={options}
        canDelete
      />
      <Button title="Button" onPress={onButtonPress} />
    </Panel>
  </View>
  <BottomSheet
    title="Alert"
    description="Are you sure?"
    isShow={isShowBottomSheet}
    handleClosePress={handleClosePress}
  />
</Container>;

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