import React from 'react'; import Tag from './Tag'; import type { RNTagProps } from './interface'; //流程中 export const processing = ({ children, ...rest }: RNTagProps) => { return ( {children} ); }; //流程中断 export const interrupt = ({ children, ...rest }: RNTagProps) => { return ( {children} ); }; //已终止 export const terminate = ({ children, ...rest }: RNTagProps) => { return ( {children} ); }; //流程失败 export const error = ({ children, ...rest }: RNTagProps) => { return ( {children} ); }; //流程成功 export const success = ({ children, ...rest }: RNTagProps) => { return ( {children} ); };