@botonic/react
Version:
Build Chatbots using React
17 lines (16 loc) • 549 B
TypeScript
import { ButtonProps } from '../index-types';
export declare const Button: {
(props: ButtonProps): any;
serialize(buttonProps: ButtonProps): {
button: {
disabled?: boolean | undefined;
autodisable?: string | boolean | undefined;
disabledstyle?: string | Record<string, string> | undefined;
payload: string | undefined;
url: string | undefined;
target: string | undefined;
webview: string | undefined;
title: string;
};
};
};