Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add tailwind css or any css to Command palette and describe the width or height #38

Closed
Karthi981 opened this issue Oct 31, 2023 · 3 comments

Comments

@Karthi981
Copy link

No description provided.

@Karthi981
Copy link
Author


{filteredItems.map((list) => (


<CommandPalette.List key={list.id} heading={list.heading}>
{list.items.map(({ id, ...rest }) => (
<CommandPalette.ListItem
key={id}
index={getItemIndex(filteredItems, id)}
{...rest}
/>
))}
</CommandPalette.List>

))}
here is my code it doesn't accept any css from next js at all

@Karthi981
Copy link
Author

if i put a div like this Check the top-level render call using . See https://reactjs.org/link/warning-keys for more information.
at div
at SearchBar error is showing

@albingroen
Copy link
Owner

Unfortunately, this was never built to be stylable. If you want a lower-level tool for building your custom command palette, I'd recommend https://cmdk.paco.me/

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

No branches or pull requests

2 participants