# ProForm
This is an example component.
## ProFormUploadMaterial
```tsx
import {ProFormUploadMaterial} from '@chageable/components';
import {ProForm} from "@ant-design/pro-components";
export default () => {
return (
{
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
}}
/>
)
}
```
## ProFormTMap
```tsx
import {ProFormTMap} from '@chageable/components';
import {ProForm} from "@ant-design/pro-components";
import {useState} from "react";
export default () => {
return (
)
}
```