* feat(plugin-verification): add client config * feat(plugin-verification): add config ui * fix(plugin-verification): fix schema * refactor(plugin-verification): add default for verification providers * fix(plugin-users): fix initVerification in lifecycle * fix(plugin-users): fix initVerification in lifecycle * fix(plugin-verification): fix locale and default provider * fix(plugin-verification): fix test case * fix(plugin-verification): fix locale
18 lines
574 B
TypeScript
18 lines
574 B
TypeScript
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}>
|
|
<SchemaComponent components={{ StorageOptions }} schema={storageSchema} />
|
|
</Card>
|
|
);
|
|
};
|