( props: P, context: LeafletContextInterface, )
| 3 | import type { LeafletContextInterface } from './context.js' |
| 4 | |
| 5 | export function withPane<P extends LayerOptions>( |
| 6 | props: P, |
| 7 | context: LeafletContextInterface, |
| 8 | ): P { |
| 9 | const pane = props.pane ?? context.pane |
| 10 | return pane ? { ...props, pane } : props |
| 11 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…