Cross-platform functions to style components in React and React Native.
Install react-x-styled
using yarn
:
yarn add react-x-styled
import Styled from 'react-x-styled';
const Title = Styled.Text`
font-size: 16px;
text-align: center;
`;
If you have any ideas on how this module could be better, create an Issue or submit a PR.