Skip to content

feat: add overlay and content className to dialog part#114

Merged
pacocoursey merged 1 commit into
dip:mainfrom
joaom00:overlay-content-classname
Apr 11, 2023
Merged

feat: add overlay and content className to dialog part#114
pacocoursey merged 1 commit into
dip:mainfrom
joaom00:overlay-content-classname

Conversation

@joaom00

@joaom00 joaom00 commented Apr 11, 2023

Copy link
Copy Markdown
Contributor

In #69, says to add className to the Root and Overlay parts but since the Root part is just a react context it doesn't accept a className. I think they meant to add to the Content part.

Closes #69

@vercel

vercel Bot commented Apr 11, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cmdk-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2023 3:33pm

@pacocoursey pacocoursey left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this for now, but we should probably just expose these parts separately in a future release.

@pacocoursey pacocoursey merged commit 3492270 into dip:main Apr 11, 2023
@joaom00 joaom00 deleted the overlay-content-classname branch April 11, 2023 16:04
@WalterZou

Copy link
Copy Markdown

@pacocoursey Please release a new version that includes this feature update🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable className on the Overlay and Root

3 participants