generated from arvinxx/monorepo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
433 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React, { useState } from 'react'; | ||
|
||
import SketchPicker from '@arvinxu/color-picker'; | ||
|
||
const Demo = () => { | ||
const [x, setX] = useState(); | ||
return ( | ||
<SketchPicker | ||
color={x} | ||
onChange={(e) => { | ||
console.log(e); | ||
setX(e); | ||
}} | ||
/> | ||
); | ||
}; | ||
|
||
export default Demo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
.../components/sketch/SketchPresetColors.tsx → ...ker/src/components/SketchPresetColors.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
// @ts-ignore | ||
// @ts-nocheck | ||
|
||
export { default as Alpha } from './Alpha'; | ||
// @ts-ignore | ||
export { default as Checkboard } from './Checkboard'; | ||
// @ts-ignore | ||
export { default as Hue } from './Hue'; | ||
// @ts-ignore | ||
export { default as Saturation } from './Saturation'; | ||
// @ts-ignore | ||
export { default as ColorWrap } from './ColorWrap'; | ||
// @ts-ignore | ||
export { default as EditableInput } from './EditableInput'; | ||
// @ts-ignore | ||
export { default as Swatch } from './Swatch'; |
Oops, something went wrong.