I'm having trouble using the shadcn-ui Sheet component

I keep gettting the error below

Error: DialogTrigger must be used within Dialog

anybody know what I might be getting wrong
Was this page helpful?