UNPKG

@szum-tech/design-system

Version:

Szum-Tech design system with tailwindcss support

12 lines (9 loc) 362 B
import * as React from 'react'; declare const Direction: { readonly LTR: "ltr"; readonly RTL: "rtl"; }; type Direction = (typeof Direction)[keyof typeof Direction]; declare const DirectionContext: React.Context<Direction | undefined>; declare function useDirection(dirProp?: Direction): Direction; export { Direction, DirectionContext, useDirection };