All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ducks.toolbar.Toolbar.d.ts Maven / Gradle / Ivy

The newest version!
import React from 'react'

export type Condition = {
    expression: string
    modelLink: string
    message?: string
}
export interface Conditions {
    enabled: Condition[]
    visible: Condition[]
}

export interface RegisterButtonProps {
    buttonId: string
    key: string
    initialState: Omit
}

export type ButtonState = {
    isInit: boolean
    visible: boolean
    label?: string
    size?: string
    color?: string
    title?: string
    hint?: string
    icon?: string
    disabled: boolean
    loading: boolean
    error?: string
    conditions?: Conditions
    key: string
    buttonId: string
    count?: number
    message?: string
    className?: string
    hintPosition?: string
    style?: React.CSSProperties
}

export type ButtonContainer = Record

export type State = Record




© 2015 - 2024 Weber Informatics LLC | Privacy Policy