Update README.md

This commit is contained in:
Nicco 2020-01-06 23:27:22 +01:00 committed by GitHub
parent dc0df83f10
commit 7f38f5f977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ npm i use-light-switch
## 🤔 Motivation
There was no library with typings 🤕
There was no library that included typings 🤕
## 🚀 Quickstart
@ -38,7 +38,7 @@ const App: React.FC = () => {
})
return <div>
<h3>Selector</h3>
<p>Try switching your dark mode in macOS or Windows</p>
<div style={{
padding: '1em 2em',
backgroundColor: selected.color