shadcn/ui question

Hello everyone,

I am currently using shadcn/ui Dialog component. (I modified for it to appear on the right and have 100% vw height like your usual Shopping Cart Dialog.)

I am intending to center align DialogTitle and DialogClose but how do I access the 'built-in' DialogClose? I already tried importing DialogClose but it only creates a new one instead of accessing the built-in 'x' button
Was this page helpful?