package.src.components.Drawer.DrawerActions.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/Drawer/drawer';
import { css } from '@patternfly/react-styles';
export interface DrawerActionsProps extends React.HTMLProps {
/** Additional classes added to the drawer actions button. */
className?: string;
/** Actions to be rendered in the panel head. */
children?: React.ReactNode;
}
export const DrawerActions: React.FunctionComponent = ({
// eslint-disable-next-line @typescript-eslint/no-unused-vars
className = '',
children,
...props
}: DrawerActionsProps) => (
{children}
);
DrawerActions.displayName = 'DrawerActions';