aesthetic-adapter-typestyle
Version:
TypeStyle support for Aesthetic.
36 lines (25 loc) • 1.18 kB
Markdown
[](https://github.com/milesj/aesthetic/actions?query=branch%3Amaster)
[](https://www.npmjs.com/package/aesthetic-adapter-typestyle)
[](https://www.npmjs.com/package/aesthetic-adapter-typestyle)
Provides [TypeStyle](https://github.com/threepointone/typestyle) support for
[](https://github.com/milesj/aesthetic), a React styling library.
```ts
import aesthetic from 'aesthetic';
import TypeStyleAdapter from 'aesthetic-adapter-typestyle';
import { TypeStyle } from 'typestyle';
aesthetic.configure({
adapter: new TypeStyleAdapter(new TypeStyle({ autoGenerateTag: true })),
});
```
- Aesthetic
- TypeStyle
```
yarn add aesthetic aesthetic-adapter-typestyle typestyle
// Or
npm install aesthetic aesthetic-adapter-typestyle typestyle
```
[](https://milesj.gitbook.io/aesthetic/adapters/typestyle)