import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Sidebar/sidebar'; export interface SidebarContentProps extends React.HTMLProps { children: React.ReactNode; /** Removes the background color. */ hasNoBackground?: boolean; /** Adds padding to the content. */ hasPadding?: boolean; /** Variant of the sidebar content background. */ backgroundVariant?: 'default' | 'secondary'; } export const SidebarContent: React.FunctionComponent = ({ className, children, hasNoBackground, hasPadding, backgroundVariant = 'default', ...props }: SidebarContentProps) => (
{children}
); SidebarContent.displayName = 'SidebarContent';