2022-10-27 14:04:04 +08:00
|
|
|
import { uid } from '@formily/shared';
|
|
|
|
import { SchemaComponent } from '@nocobase/client';
|
|
|
|
import { Card } from 'antd';
|
|
|
|
import React, { useState } from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { storageSchema } from './schemas/storage';
|
|
|
|
import { StorageOptions } from './StorageOptions';
|
|
|
|
|
|
|
|
export const FileStoragePane = () => {
|
|
|
|
const [visible, setVisible] = useState(false);
|
|
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
|
|
<Card bordered={false}>
|
2022-11-28 16:41:58 +08:00
|
|
|
<SchemaComponent components={{ StorageOptions }} schema={storageSchema} />
|
2022-10-27 14:04:04 +08:00
|
|
|
</Card>
|
|
|
|
);
|
|
|
|
};
|