( prefix: string | undefined, defaultPrefix: string, )
| 76 | } as any; |
| 77 | |
| 78 | export function useBootstrapPrefix( |
| 79 | prefix: string | undefined, |
| 80 | defaultPrefix: string, |
| 81 | ): string { |
| 82 | const { prefixes } = useContext(ThemeContext); |
| 83 | return prefix || prefixes[defaultPrefix] || defaultPrefix; |
| 84 | } |
| 85 | |
| 86 | export function useBootstrapBreakpoints() { |
| 87 | const { breakpoints } = useContext(ThemeContext); |
no outgoing calls
no test coverage detected
searching dependent graphs…