@botonic/react
Version:
Build Chatbots using React
25 lines (24 loc) • 766 B
TypeScript
export class ButtonsDisabler {
static constructBrowserProps(props: any): {
disabled: any;
};
static constructNodeProps(props: any): {
autodisable: string;
disabledstyle: string;
};
static withDisabledProps(props: any): {
disabled: any;
autodisable: any;
disabledstyle: any;
};
static resolveDisabling(theme: any, props: any): {
autoDisable: any;
disabledStyle: any;
};
static updateChildrenButtons(children: any, additionalProps?: undefined): any;
static updateButtons(node: any, additionalProps: any): any;
static getUpdatedMessage(messageToUpdate: any, { autoDisable, disabledStyle }: {
autoDisable: any;
disabledStyle: any;
}): any;
}