# React-docs

This project uses [@patternfly/documentation-framework](https://github.com/patternfly/patternfly-org/tree/main/packages/documentation-framework) to render example MD files.

## Writing an MD file

Include an `id` and `section` in the frontmatter:
```yaml
---
id: Your page title
section: components
---
```

Include JS code blocks:
``````md
### Your example title
```ts
import { YourComponent } from '@patternfly/react-core';

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