node/@patternfly/react-core/src/components/Content/examples/ContentWrapper.tsx
raw| 1 | import { Content, ContentVariants } from '@patternfly/react-core'; |
| 2 | |
| 3 | export const ContentWrapper: React.FunctionComponent = () => ( |
| 4 | <Content> |
| 5 | <Content component={ContentVariants.p}> |
| 6 | Content with a component of type "p" still renders the same when wrapped with a Content. |
| 7 | </Content> |
| 8 | <p>If located within a wrapping Content, html elements are styled as well!</p> |
| 9 | </Content> |
| 10 | ); |