UNPKG

@focuson/form_components

Version:

Components that can be used by @focuson/forms

12 lines (11 loc) 550 B
import { LensState } from "@focuson/state"; import { CustomButtonType } from "./common"; export interface ListButtonProps<S, C> extends CustomButtonType { id: string; title: string; enabledBy?: string[][]; value: LensState<S, number, C>; list: LensState<S, any[], C>; } export declare function ListNextButton<S, C>({ id, title, value, list, enabledBy, buttonType }: ListButtonProps<S, C>): JSX.Element; export declare function ListPrevButton<S, C>({ id, title, value, enabledBy, buttonType }: ListButtonProps<S, C>): JSX.Element;