package.src.layouts.Level.Level.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 { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/layouts/Level/level';
export interface LevelProps extends React.HTMLProps {
/** Adds space between children. */
hasGutter?: boolean;
/** additional classes added to the Level layout */
className?: string;
/** content rendered inside the Level layout */
children?: React.ReactNode;
}
export const Level: React.FunctionComponent = ({
hasGutter,
className = '',
children = null,
...props
}: LevelProps) => (
{children}
);
Level.displayName = 'Level';