ducks.toolbar.ButtonResolver.ts Maven / Gradle / Ivy
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
class ButtonResolver {
/**
* Значение поумолчанию
* @return {{
* visible: boolean,
* color: string | null,
* count: number,
* icon: string | null,
* title: string | null,
* message: any | null,
* loading: boolean,
* error: any | null,
* size: string | null,
* hint: string | null,
* disabled: boolean,
* conditions: Object | null,
* isInit: boolean
* }}
*/
static get defaultState() {
return ({
isInit: true,
visible: true,
disabled: false,
loading: false,
})
}
}
export default ButtonResolver
© 2015 - 2025 Weber Informatics LLC | Privacy Policy