mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2024-12-22 07:56: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
|
## 🤔 Motivation
|
||||||
|
|
||||||
There was no library with typings 🤕
|
There was no library that included typings 🤕
|
||||||
|
|
||||||
## 🚀 Quickstart
|
## 🚀 Quickstart
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ const App: React.FC = () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
return <div>
|
return <div>
|
||||||
<h3>Selector</h3>
|
<p>Try switching your dark mode in macOS or Windows</p>
|
||||||
<div style={{
|
<div style={{
|
||||||
padding: '1em 2em',
|
padding: '1em 2em',
|
||||||
backgroundColor: selected.color
|
backgroundColor: selected.color
|
||||||
|
Loading…
Reference in New Issue
Block a user