tachybase_todo/packages/plugins/@tachybase/plugin-comments/src/client/QuoteReplyCommentActionInitializer.tsx
bai.zixv 236c308d23 refactor: @hera/plugin-core, departments-plugin (#979)
Reviewed-on: daoyoucloud/tachybase#979
Co-authored-by: bai.zixv <bai.zixv@foxmail.com>
Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
2024-05-28 10:43:58 +08:00

11 lines
390 B
TypeScript

import React from 'react';
import { ActionInitializer } from '@tachybase/client';
import { useTranslation } from './locale';
export function QuoteReplyCommentActionInitializer(props) {
const { t } = useTranslation();
const schema = { type: 'void', title: t('Quote Reply'), 'x-component': 'QuoteReplyCommentActionButton' };
return <ActionInitializer {...props} schema={schema} />;
}