UNPKG

@focuson/form_components

Version:

Components that can be used by @focuson/forms

10 lines (9 loc) 401 B
import { LensState } from "@focuson/state"; import { CustomButtonType } from "./common"; export interface DeleteStateButtonProps<S, C> extends CustomButtonType { id: string; label: string; states: LensState<S, any, C>[]; enabledBy?: string[][]; } export declare function DeleteStateButton<S, C>({ id, label, states, buttonType, enabledBy }: DeleteStateButtonProps<S, C>): JSX.Element;