mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2024-12-21 23:46:26 +00:00
Update README.md
This commit is contained in:
parent
dc0df83f10
commit
7f38f5f977
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user