Function
Closes the dialog when activated. Use asChild to turn any element — most often a Button — into a close affordance.
asChild
Button
Closes the dialog when activated. Use
asChildto turn any element — most often aButton— into a close affordance.