| 8 | * -----------------------------------------------------------------------------------------------*/ |
| 9 | |
| 10 | interface DirectionProviderProps { |
| 11 | children?: React.ReactNode |
| 12 | dir: Direction |
| 13 | } |
| 14 | const DirectionProvider: React.FC<DirectionProviderProps> = props => { |
| 15 | const { dir, children } = props |
| 16 | return <DirectionContext.Provider value={dir}>{children}</DirectionContext.Provider> |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…