2.0.0 • Published 5 years ago

styled-x-create-component v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

styled-x-create-component

npm npm npm

Easily create cross-platform styled-x components which can be extended to create design systems. Compatible with React DOM and React Native for truly cross-platform libraries.

Getting Started

Install styled-x-create-component using yarn:

yarn add styled-x-create-component

Usage

Here's an example of how we wrap a react-x TextInput component into a styled-x TextInput so it can be extended.

// Libraries
import createComponent from 'styled-x-create-component';
import TextInput from 'react-x-text-input';

export default createComponent(TextInput);

Contributing

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

2.0.0

5 years ago

2.0.0-beta.2

5 years ago

2.0.0-beta.1

5 years ago

2.0.0-beta.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago