Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 497 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 497 Bytes

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 />
)
```