Skip to content

Commit

Permalink
๐Ÿ’„ ํŒ”๋ ˆํŠธ ๋ณ€๊ฒฝ
Browse files Browse the repository at this point in the history
  • Loading branch information
NeatKYU committed Apr 3, 2023
1 parent 9d55550 commit 7e5f89e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/menu/Palate.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from 'styled-components'
import { TwitterPicker } from 'react-color'
import { SketchPicker } from 'react-color'
import { useRecoilState } from 'recoil';
import { CanvasColorState } from '@/atom';
// interface PlatteProps {
Expand All @@ -17,7 +17,7 @@ export const Palate = () => {
return (
<Container>
<Label>Color</Label>
<TwitterPicker onChange={handleColor}/>
<SketchPicker color={color} onChange={handleColor}/>
</Container>
)
}
Expand All @@ -38,10 +38,10 @@ const Label = styled.div`
width: 100%;
height: auto;
margin: 5px 0 15px 20px;
margin: 20px 5px 15px 5px;
display: flex;
justify-content: start;
justify-content: center;
color: white;
Expand Down

0 comments on commit 7e5f89e

Please sign in to comment.