@aesthetic/addon-direction
TypeScript icon, indicating that this package has built-in type declarations

0.4.7 • Public • Published

Aesthetic - Direction Converter

Build Status npm version npm deps

Aesthetic addon to convert direction between LTR and RTL.

import directionConverter from '@aesthetic/addon-direction';
import { configure } from '@aesthetic/<integration>';
import { createClientEngine } from '@aesthetic/style';

// When using entire Aesthetic framework
configure({
	directionConverter,
});

// When using CSS-in-JS engine directly
const engine = createClientEngine({
	direction: 'ltr', // Default
	directionConverter,
});

Installation

yarn add @aesthetic/addon-direction

Documentation

https://aestheticsuite.dev

Package Sidebar

Install

npm i @aesthetic/addon-direction

Weekly Downloads

36

Version

0.4.7

License

MIT

Unpacked Size

6.24 kB

Total Files

9

Last publish

Collaborators

  • milesj