Skip to content

Card - CardTitle description #12086

Description

@kmcfaul

Add description to CardTitle. Could be as straightforward as the following, adding a Content to the current children, but need to check with core if they want another wrapping div instead.

  <div className={css(styles.cardTitle)}>
      <div className={css(styles.cardTitleText, className)}>
        {children}
        <Content component="small">{description}</Content>
      </div>
  </div>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions