package.src.components.NotificationDrawer.NotificationDrawerBody.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/NotificationDrawer/notification-drawer';
import { css } from '@patternfly/react-styles';
export interface NotificationDrawerBodyProps extends React.HTMLProps {
/** Content rendered inside the body of the notification drawer */
children?: React.ReactNode;
/** Additional classes added to the notification drawer body */
className?: string;
}
export const NotificationDrawerBody: React.FunctionComponent = ({
children,
className = '',
...props
}: NotificationDrawerBodyProps) => (
{children}
);
NotificationDrawerBody.displayName = 'NotificationDrawerBody';