init 3
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import * as React from 'react';
|
||||
|
||||
type Direction = 'ltr' | 'rtl';
|
||||
interface DirectionProviderProps {
|
||||
children?: React.ReactNode;
|
||||
dir: Direction;
|
||||
}
|
||||
declare const DirectionProvider: React.FC<DirectionProviderProps>;
|
||||
declare function useDirection(localDir?: Direction): Direction;
|
||||
declare const Provider: React.FC<DirectionProviderProps>;
|
||||
|
||||
export { DirectionProvider, Provider, useDirection };
|
||||
Reference in New Issue
Block a user