(localDir?: Direction)
| 19 | /* -----------------------------------------------------------------------------------------------*/ |
| 20 | |
| 21 | function useDirection(localDir?: Direction) { |
| 22 | const globalDir = React.useContext(DirectionContext) |
| 23 | return localDir || globalDir || 'ltr' |
| 24 | } |
| 25 | |
| 26 | const Provider = DirectionProvider |
| 27 |
no outgoing calls
no test coverage detected
searching dependent graphs…