Skip to content

IconButton missing from website #49

Description

@praisethemoon

Icon button is missing and the skill reference needs updating, since the icon property needs to be a JSX and not a literal (so users can use any icon lib).

/// WRONG!
       <IconButton
          icon="add"
          size="sm"
          variant="ghost"
          onClick={openConnectDialog}
          aria-label="New Session"
        />

/// Correct!
        <IconButton
          icon={ <Icon name="add" />}
          size="sm"
          variant="ghost"
          onClick={openConnectDialog}
          aria-label="New Session"
        />

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions