()
| 147 | }); |
| 148 | |
| 149 | export const useModalContext = (): ModalContextProps => |
| 150 | useContext(ModalPropsContext); |
| 151 | |
| 152 | export function modalTabTitle(tab: string | ModalTabItem): string { |
| 153 | return typeof tab === 'string' ? tab : tab.title; |
no outgoing calls
no test coverage detected