(props: ToolbarProps)
| 5 | import './Toolbar.css'; |
| 6 | |
| 7 | export function Toolbar(props: ToolbarProps) { |
| 8 | let {orientation = 'horizontal'} = props; |
| 9 | return ( |
| 10 | <ToggleButtonGroupContext.Provider value={{orientation}}> |
| 11 | <SeparatorContext.Provider |
| 12 | value={{orientation: orientation === 'horizontal' ? 'vertical' : 'horizontal'}}> |
| 13 | <RACToolbar {...props} /> |
| 14 | </SeparatorContext.Provider> |
| 15 | </ToggleButtonGroupContext.Provider> |
| 16 | ); |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected