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

Add docs please, trying to add checkbox, nothing gets shown #33

Open
nikitavoloboev opened this issue May 2, 2023 · 2 comments
Open

Comments

@nikitavoloboev
Copy link

My checkbox component:

https://github.com/nikitavoloboev/kuskus/blob/main/src/components/Switch.tsx#L4

There were no docs so i went into code types so this prop was supposed to be present. I added it. Still it does not show the checkbox.

Not sure where I am going wrong.

Thanks for what seems like a great library though, hope I can get it working. ♥️

@lxsmnsyc
Copy link
Owner

lxsmnsyc commented May 2, 2023

you lack all of the components needed to make a Checkbox. Please see the example: https://github.com/lxsmnsyc/solid-headless/blob/d249ec602d23f9b7d83ca047daa24a3ca50ccf94/examples/checkbox-example/src/App.tsx#L76

@skeptrunedev
Copy link

You may find this helpful: https://codesandbox.io/s/checkbox-example-rg0i79 if looking at just the code isn't something you find helpful enough

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

3 participants