MCPcopy
hub / github.com/botui/botui / ButtonObject

Interface ButtonObject

typings/index.d.ts:163–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 * @interface ButtonObject
162 */
163export interface ButtonObject {
164 /**
165 * Icon to show in button.
166 *
167 * @type {string}
168 * @memberof ButtonObject
169 */
170 icon?: string;
171 /**
172 * Text to show in the button. be creative!
173 *
174 * @type {string}
175 * @memberof ButtonObject
176 */
177 text: string;
178 /**
179 * This is how you will identify the button when result is returned.
180 *
181 * @type {string}
182 * @memberof ButtonObject
183 */
184 value: string;
185 /**
186 * A string or array of custom CSS classes you want to be added.
187 *
188 * @type {string|string[]}
189 * @memberof ButtonObject
190 */
191 cssClass?: string | string[];
192}
193
194export interface TextActionOption extends BaseActionsOption {
195 action: TextObject;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…