Skip to content

Commit 646977a

Browse files
Add react-color types (codesandbox#3227)
* Add react-color types * fix ts0 Co-authored-by: Sara Vieira <hey@iamsaravieira.com>
1 parent 919dd41 commit 646977a

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@
252252
"@types/phoenix": "^1.4.0",
253253
"@types/prop-types": "^15.7.0",
254254
"@types/react": "^16.8.12",
255+
"@types/react-color": "^2.17.3",
255256
"@types/react-dom": "^16.8.3",
256257
"@types/react-helmet": "^5.0.11",
257258
"@types/react-icons": "2.2.7",

packages/app/src/app/pages/Sandbox/Editor/Workspace/Project/SandboxConfig/TemplateConfig/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export const TemplateConfig: FunctionComponent = () => {
6464
<SketchPicker
6565
color={selectedColor}
6666
disableAlpha
67-
id="color"
6867
onChangeComplete={({ hex }) => setSelectedColor(hex)}
6968
presetColors={[...new Set(colors)]}
7069
/>

standalone-packages/vscode-textmate/package-lock.json

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4276,6 +4276,13 @@
42764276
"@types/history" "*"
42774277
"@types/react" "*"
42784278

4279+
"@types/react-color@^2.17.3":
4280+
version "2.17.3"
4281+
resolved "https://registry.yarnpkg.com/@types/react-color/-/react-color-2.17.3.tgz#92a67b2dc5783a9220bc52804f8fade93696a1fe"
4282+
integrity sha512-ewFUB9mNXuqT2UMbiYNqXiUWt857VinGaElhX0Gk+kT1BrXel0imzRp1FeWntHpr+uHkKAnJbr5e4Yc4vP1BRg==
4283+
dependencies:
4284+
"@types/react" "*"
4285+
42794286
"@types/react-dom@^16.8.3":
42804287
version "16.8.3"
42814288
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.8.3.tgz#6131b7b6158bc7ed1925a3374b88b7c00481f0cb"

0 commit comments

Comments
 (0)