---
title: Simple Usage
order: 1
---

本 Demo 演示一行文字的用法。

```jsx
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import MaterialsRender from '@ywfe/materials-render';
import projectSchema from './schema.json';
import packages from './packages.json';
class App extends Component {
  render() {
    return (
      <div>
        <MaterialsRender projectSchema={projectSchema} packages={packages} />
      </div>
    );
  }
}

ReactDOM.render(<App />, mountNode);
```
