enwawa-ui 2.7.1 → 2.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -2923,6 +2923,10 @@ export interface OrStepProp {
2923
2923
  $lineHeight?: string;
2924
2924
  }
2925
2925
  export const OrStep: React.FC<OrStepProp>;
2926
+ export interface ICustomButtons extends AtButtonProps {
2927
+ label: string;
2928
+ hidden?: boolean;
2929
+ }
2926
2930
  export interface IFormStep<T> {
2927
2931
  title: string;
2928
2932
  inputs?: OrFormItemsInlineProps['inputs'];
@@ -2936,12 +2940,7 @@ export interface IFormStep<T> {
2936
2940
  cancelBtnIcon?: ReactNode;
2937
2941
  isSubmitButtonDanger?: boolean;
2938
2942
  hiddeSubmitButton?: boolean;
2939
- customButtons?: {
2940
- label: string;
2941
- onClick: () => void;
2942
- type: AtButtonProps['type'];
2943
- htmlType?: AtButtonProps['htmlType'];
2944
- }[];
2943
+ customButtons?: ICustomButtons[];
2945
2944
  }
2946
2945
  export interface TmCrudPageProps<RecordType = AnyObject, FormType = any> {
2947
2946
  /**