Coder Social home page Coder Social logo

larvenllc / react-custom-checkbox Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 3.0 56.36 MB

A simple and fully customizable React checkbox input component.

Home Page: https://larvenllc.github.io/react-custom-checkbox

License: MIT License

HTML 23.78% JavaScript 74.27% CSS 1.94%

react-custom-checkbox's Issues

TabIndex support

Currently trying to use tabIndex on this, and I'm having no luck. Is there something I'm missing?

Prop `style` did not match.

Hi, I am facing a warning simply importing Checkbox from react-custom-checkbox.
Here's the warning...
BTW I am using Nextjs 13

Warning: Propstyledid not match. Server: "height:18px;width:18px;border-width:2px;border-color:#D7C629;border-style:solid;border-radius:5px;display:flex;align-items:center;justify-content:center" Client: "height:18px;width:18px;border-width:2px;border-color:#D7C629;border-style:solid;border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:"

Is there any way to fix this ?
Thanks

peer react@"^16.0.0" from [email protected]

`npm ERR! node_modules/react
npm ERR! react@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from [email protected]
npm ERR! node_modules/react-custom-checkbox
npm ERR! react-custom-checkbox@"^1.0.7" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/apple/.npm/eresolve-report.txt for a full report.

`
Screenshot 2021-05-15 at 8 34 08 PM

missing disable props

Hi, thanks for your works!

Is possible to add a disabled props to make checkbox unclickable ?

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.