UNPKG

@ducor/react

Version:

admin template ui interface

13 lines (12 loc) 442 B
import React, { ReactNode } from "react"; type HTML_DIRECTION = "ltr" | "rtl"; interface HtmlDirectionContextType { htmlDirection: HTML_DIRECTION; setHtmlDirection: (direction: HTML_DIRECTION) => void; } export declare const useHtmlDirection: () => HtmlDirectionContextType; interface HtmlDirectionProviderProps { children: ReactNode; } export declare const HtmlDirectionProvider: React.FC<HtmlDirectionProviderProps>; export {};