Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 508 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 508 Bytes

React-docs

This project uses theme-patternfly-org 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 />
)
```