Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Alert description not optional #4467

Closed
coratgerl opened this issue Dec 30, 2024 · 2 comments
Closed

[BUG] - Alert description not optional #4467

coratgerl opened this issue Dec 30, 2024 · 2 comments

Comments

@coratgerl
Copy link

NextUI Version

2.6.10

Describe the bug

In 2.6.8, the description field for Alert was optional, this not the case now, but every alert should not necessary have a description. Moreover the documentation propose some examples without description:

https://nextui.org/docs/components/alert#colors

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

<Alert
          title="Title"
          color="danger"
          variant="bordered"
        />

=> Typescript error

Expected behavior

The description should not be required

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Copy link

linear bot commented Dec 30, 2024

@wingkwong
Copy link
Member

fixed in #4447. please wait for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants