react-x-styled
Version:
Cross-platform functions to style components in React and React Native.
31 lines (20 loc) • 868 B
Markdown
# react-x-styled
[](https://www.npmjs.com/package/react-x-styled)
[](https://www.npmjs.com/package/react-x-styled)
[](https://github.com/negativetwelve/react-x/blob/master/LICENSE)
Cross-platform functions to style components in React and React Native.
## Getting Started
Install `react-x-styled` using `yarn`:
```shell
yarn add react-x-styled
```
## Usage
```javascript
import Styled from 'react-x-styled';
const Title = Styled.Text`
font-size: 16px;
text-align: center;
`;
```
## Contributing
If you have any ideas on how this module could be better, [create an Issue](https://github.com/negativetwelve/react-x/issues) or [submit a PR](https://github.com/negativetwelve/react-x/pulls).