@file:JsModule("@blueprintjs/core") package com.palantir.blueprintjs import org.w3c.dom.HTMLElement import org.w3c.dom.HTMLInputElement import org.w3c.dom.events.Event import org.w3c.dom.events.MouseEvent import react.* /** * The four basic intents. */ // export declare const Intent: { // NONE: "none"; // PRIMARY: "primary"; // SUCCESS: "success"; // WARNING: "warning"; // DANGER: "danger"; //}; //export declare type Intent = typeof Intent[keyof typeof Intent]; external enum class Intent { NONE, PRIMARY, SUCCESS, WARNING, DANGER } /** Alignment along the horizontal axis. */ //export declare const Alignment: { // CENTER: "center"; // LEFT: "left"; // RIGHT: "right"; //}; //export declare type Alignment = typeof Alignment[keyof typeof Alignment]; external enum class Alignment { CENTER, LEFT, RIGHT } /** * A shared base interface for all Blueprint component props. */ external interface IProps : RProps { /** A space-delimited list of class names to pass along to a child element. */ var className: String? } external interface IIntentProps { /** Visual intent color to apply to element. */ var intent: Intent? } /** * Interface for a clickable action, such as a button or menu item. * These props can be spready directly to a `