tuil
ReferencePackages@mwillbanks/tuil-inkAPI

TerminalSemanticNodeProps

interface exported by @mwillbanks/tuil-ink.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-ink.

export interface TerminalSemanticNodeProps {
  readonly id: string;
  readonly role: SemanticRole;
  readonly label: string;
  readonly description?: string;
  readonly selected?: boolean;
  readonly expanded?: boolean;
  readonly disabled?: boolean;
  readonly valueText?: string;
  readonly metadata?: CommonComponentProps;
}

Members

MemberTypeRequiredDescriptionRelated types
idstringYesThe id member uses the string contract.
roleSemanticRoleYesThe role member uses the SemanticRole contract.SemanticRole
labelstringYesThe label member uses the string contract.
descriptionstring | undefinedNoThe description member uses the string | undefined contract.
selectedboolean | undefinedNoThe selected member uses the boolean | undefined contract.
expandedboolean | undefinedNoThe expanded member uses the boolean | undefined contract.
disabledboolean | undefinedNoThe disabled member uses the boolean | undefined contract.
valueTextstring | undefinedNoThe valueText member uses the string | undefined contract.
metadataCommonComponentProps | undefinedNoThe metadata member uses the CommonComponentProps | undefined contract.CommonComponentProps

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page