Debian Codegraph @

node/@patternfly/react-core/src/components/Drawer/DrawerActions.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/Drawer/drawer';
2 import { css } from '@patternfly/react-styles';
3
4 export interface DrawerActionsProps extends React.HTMLProps<HTMLDivElement> {
5 /** Additional classes added to the drawer actions button. */
6 className?: string;
7 /** Actions to be rendered in the panel head. */
8 children?: React.ReactNode;
9 }
10
11 export const DrawerActions: React.FunctionComponent<DrawerActionsProps> = ({
12 className = '',
13 children,
14 ...props
15 }: DrawerActionsProps) => (
16 <div className={css(styles.drawerActions, className)} {...props}>
17 {children}
18 </div>
19 );
20 DrawerActions.displayName = 'DrawerActions';