☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
@patternfly
/
react-core
/
src
/
components
/
Alert
/
AlertContext.ts
☽
☼
node/@patternfly/react-core/src/components/Alert/AlertContext.ts
code
plain
raw
MIT
2018 React Popper authors; 2019 Federico Zivolo; 2019 Red Hat, Inc.; Red Hat
debian/copyright
1
import { createContext } from 'react';
2
interface AlertContext {
3
title: React.ReactNode;
4
variantLabel?: string;
5
}
6
7
export const AlertContext = createContext<AlertContext>(null);