Skip to content

Files

Latest commit

 

History

History

react-docs

React-docs

This project uses @patternfly/documentation-framework to render example MD files.

Writing an MD file

Include an id and section in the frontmatter:

---
id: Your page title
section: components
---

Include JS code blocks:

### Your example title
```js
import { YourComponent } from '@patternfly/react-core';

BasicExample = () => (
  <YourComponent />
)
```