1.0.1 • Published 1 year ago

rn-components-ts v1.0.1

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

rn-components

react native reuseable components

Installation

npm install rn-components-ts
or
yarn add rn-components-ts

Usage

import { MText, Wrapper } from 'rn-components';

// ...
  <Wrapper.Container style={styles.container}>
      <MText>This is simple text</MText>

      <MText loading={loading} skW={Size.vl}>Text with loading...</MText>
      <Wrapper.Row style={Styles.verticalMargin}>
        <MText>Column1</MText>
        <MText>Column2</MText>
      </Wrapper.Row>

      <Wrapper.SpaceAroundRow style={Styles.verticalMargin}>
        <MText>Column1</MText>
        <MText>Column2</MText>
      </Wrapper.SpaceAroundRow>

      <Wrapper.SpaceBetweenRow style={Styles.verticalMargin}>
        <MText>Column1</MText>
        <MText>Column2</MText>
      </Wrapper.SpaceBetweenRow>

      <Wrapper.Title>This is title</Wrapper.Title>
  </Wrapper.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