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
- Aesthetic
- TypeStyle
Installation
yarn add aesthetic aesthetic-adapter-typestyle typestyle
// Or
npm install aesthetic aesthetic-adapter-typestyle typestyle