0.1.5 • Published 10 months ago

react-native-tillring-components v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

react-native-tillring-components

React native component library for tillring apps.

Installation

npm install react-native-tillring-components

or

yarn add react-native-tillring-components

Usage

import { useState } from 'react';
import { Container, Typography, Separator, ToggleButton } from 'react-native-tillring-components';

// ...
const App = () => {
  const [isActive, setIsActive] = useState(false)
  return (
      <Container flex1 row aCenter jBetween>
        <Typography h1 semibold>
          Hello
        </Typography>
        <Separator width={10}>
        <Typography h1 semibold>
          World!
        </Typography>
        <ToggleButton isEnabled={isActive} setIsEnabled={() => setIsActive(!isActive)}/>
      </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

0.1.4

10 months ago

0.1.5

10 months ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago