mirror of
https://github.com/cupcakearmy/use-light-switch.git
synced 2025-09-05 17:10:41 +00:00
Update README.md
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user