Debian Codegraph @

node/@patternfly/react-core/src/components/EmptyState/EmptyStateActions.tsx

raw
1 import { css } from '@patternfly/react-styles';
2 import styles from '@patternfly/react-styles/css/components/EmptyState/empty-state';
3
4 export interface EmptyStateActionsProps extends React.HTMLProps<HTMLDivElement> {
5 /** Content rendered inside the empty state actions */
6 children?: React.ReactNode;
7 /** Additional classes added to the empty state actions */
8 className?: string;
9 }
10
11 export const EmptyStateActions: React.FunctionComponent<EmptyStateActionsProps> = ({
12 children,
13 className,
14 ...props
15 }: EmptyStateActionsProps) => (
16 <div className={css(styles.emptyStateActions, className)} {...props}>
17 {children}
18 </div>
19 );
20 EmptyStateActions.displayName = 'EmptyStateActions';