Skip to content

Incorrect documentation for CoreUI Modal component #262

@sandercm

Description

@sandercm

Hello,

This is not really a bug report because it is not related to the code directly but to the documentation.

In the documentation for the Modal component we get the example
image

this uses onClose() inside the tag but when you look at the interface for the component you can see that it actually expects you to use onDismiss. This isn't obvious if you use the Close Button in the example but can cause confusion when the behavior suddenly doesn't work properly when using the cross in the Header.

image

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