Debian Codegraph @

node/@patternfly/react-core/src/components/Panel/PanelFooter.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/Panel/panel';
2 import { css } from '@patternfly/react-styles';
3
4 export interface PanelFooterProps extends React.HTMLProps<HTMLDivElement> {
5 /** Content rendered inside the panel footer */
6 children?: React.ReactNode;
7 /** Class to add to outer div */
8 className?: string;
9 }
10
11 export const PanelFooter: React.FunctionComponent<PanelFooterProps> = ({
12 className,
13 children,
14 ...props
15 }: PanelFooterProps) => (
16 <div className={css(styles.panelFooter, className)} {...props}>
17 {children}
18 </div>
19 );
20
21 PanelFooter.displayName = 'PanelFooter';