Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1045
17 lines
355 B
TypeScript
17 lines
355 B
TypeScript
import React, { FC } from 'react';
|
|
import { SchemaComponentOptions } from '@tachybase/client';
|
|
|
|
import { RuleConfigForm } from './sequence';
|
|
|
|
export const SequenceFieldProvider: FC = (props) => {
|
|
return (
|
|
<SchemaComponentOptions
|
|
components={{
|
|
RuleConfigForm,
|
|
}}
|
|
>
|
|
{props.children}
|
|
</SchemaComponentOptions>
|
|
);
|
|
};
|