1 | import * as React from 'react';
|
2 | import globalBreakpointMd from '@patternfly/react-tokens/dist/esm/global_breakpoint_md';
|
3 | import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/global_breakpoint_lg';
|
4 | import globalBreakpointXl from '@patternfly/react-tokens/dist/esm/global_breakpoint_xl';
|
5 | import globalBreakpoint2xl from '@patternfly/react-tokens/dist/esm/global_breakpoint_2xl';
|
6 | export const ToolbarContext = React.createContext({
|
7 | isExpanded: false,
|
8 | toggleIsExpanded: () => { },
|
9 | chipGroupContentRef: null,
|
10 | updateNumberFilters: () => { },
|
11 | numberOfFilters: 0,
|
12 | clearAllFilters: () => { }
|
13 | });
|
14 | export const ToolbarContentContext = React.createContext({
|
15 | expandableContentRef: null,
|
16 | expandableContentId: '',
|
17 | chipContainerRef: null
|
18 | });
|
19 | export const globalBreakpoints = {
|
20 | md: parseInt(globalBreakpointMd.value),
|
21 | lg: parseInt(globalBreakpointLg.value),
|
22 | xl: parseInt(globalBreakpointXl.value),
|
23 | '2xl': parseInt(globalBreakpoint2xl.value)
|
24 | };
|
25 |
|
\ | No newline at end of file |