From 73dce6ca50ef7caa3ae60634f2251fa973f15dbb Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Fri, 15 Dec 2017 10:10:55 -0500 Subject: [PATCH] add comment to colorInfo shape --- src/components/loupe/loupe.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/loupe/loupe.jsx b/src/components/loupe/loupe.jsx index 2de24a06..127db61e 100644 --- a/src/components/loupe/loupe.jsx +++ b/src/components/loupe/loupe.jsx @@ -95,7 +95,7 @@ class LoupeComponent extends React.Component { LoupeComponent.propTypes = { colorInfo: PropTypes.shape({ - color: PropTypes.instanceOf(Uint8ClampedArray), + color: PropTypes.instanceOf(Uint8ClampedArray), // this is the [r,g,b,a] array x: PropTypes.number, y: PropTypes.number, data: PropTypes.instanceOf(Uint8ClampedArray)