Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Deprecate package #671

Merged
merged 1 commit into from
Sep 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Deprecation notice

The majority of what this package did is hide the checkbox and provide a way to add your own styled checkbox. However now that IE 11 is deprecated, the css property [all: unset](https://caniuse.com/css-all) works across enough browsers that it doesn't make sense to maintain this project.

If you want to create your own custom checkbox, there are tons of tutorials that show you how to use `:before` to create your own styled checkbox, however the new update is to just unset all the fields for the input itself that way it doesn't show up.

```css
input[type=checkbox] {
all: unset;
}
```

# An unstyled React checkbox

[![npm (scoped)](https://img.shields.io/npm/v/@snowcoders/react-checkbox.svg)](https://www.npmjs.com/package/@snowcoders/react-checkbox)
Expand Down