Skip to content

Add prop to hide the close button (X) on BBBHint #30

Description

@Arthurk12

Is your feature request related to a problem? Please describe.
In some use cases, the close button (X) on BBBHint does not make sense — for example, informational hints that should only be dismissed by interacting with another UI element, or tooltip-style hints with no explicit dismiss action. There is currently no way to hide this button.

Describe the solution you'd like
Add a boolean prop (e.g. hideCloseButton) to BBBHint that, when true, hides the X button from the component.

Affected component(s)
BBBHint

Proposed API / Usage Example

// Hint without a close button
<BBBHint hideCloseButton content="This hint cannot be manually dismissed.">
  <BBBButton>Info</BBBButton>
</BBBHint>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions