Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 524 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 524 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 React from 'react';
import { YourComponent } from '@patternfly/react-core';

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