Aesthetic with TypeStyle
Provides TypeStyle support for
Aesthetic, a React styling library.
import aesthetic from 'aesthetic';
import TypeStyleAdapter from 'aesthetic-adapter-typestyle';
import { TypeStyle } from 'typestyle';
aesthetic.configure({
adapter: new TypeStyleAdapter(new TypeStyle({ autoGenerateTag: true })),
});
Requirements
Installation
yarn add aesthetic aesthetic-adapter-typestyle typestyle
// Or
npm install aesthetic aesthetic-adapter-typestyle typestyle
Documentation
https://milesj.gitbook.io/aesthetic/adapters/typestyle