Skip to content

[BUG] - Alert description not optional #4467

@coratgerl

Description

@coratgerl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions