Reviewed-on: daoyoucloud/tachybase#979 Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-committed-by: bai.zixv <bai.zixv@foxmail.com>
11 lines
390 B
TypeScript
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} />;
|
|
}
|