Debian Codegraph @

node/@patternfly/react-core/src/components/Alert/AlertGroupContext.tsx

raw
1 import { createContext } from 'react';
2
3 interface AlertGroupContext {
4 hasAnimations?: boolean;
5 updateTransitionEnd?: (onTransitionEnd: () => void) => void;
6 }
7
8 export const AlertGroupContext = createContext<AlertGroupContext>({
9 hasAnimations: false,
10 updateTransitionEnd: () => {}
11 });