# UploadMaterial

This is an example component.

```tsx
import {UploadMaterial} from '@chageable/components';

export default () => {
  return (
    <UploadMaterial 
      request={async (params, sorter, filter) => {
        const data = [
          {
            key: '1',
            materialId: '1',
            name: 'John Brown',
            url: 'https://placehold.co/400',
          }
        ]
  
        return {
          data: data || [],
          total: data.length,
          success: true,
        };
      }} 
      onChange={(fileList) => console.log("fileList", fileList)}
      maxCount={9}
    />
  )
}
```
