styled-x-primitives

Cross-platform Image, Text, and View components for the styled-x system.

Usage no npm install needed!

<script type="module">
  import styledXPrimitives from 'https://cdn.skypack.dev/styled-x-primitives';
</script>

README

styled-x-primitives

npm npm npm

Cross-platform Image, Text, and View components for the styled-x system. Supports React DOM and React Native.

Getting Started

Install styled-x-primitives using yarn:

yarn add styled-x-primitives

Usage

import Styled from 'styled-x-primitives';

const Title = Styled.Text`
  font-size: 16px;
  text-align: center;
`;

Props

Prop Type Required Description

Contributing

If you have any ideas on how this module could be better, create an Issue or submit a PR.