Skip to content

Commit df4ac4e

Browse files
author
Raphaël Benitte
committed
feat(line): fix wrong prop type
1 parent 6958db1 commit df4ac4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/charts/line/props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const LinePropTypes = {
6666

6767
// styling
6868
getColor: PropTypes.func.isRequired,
69-
enableArea: PropTypes.func.isRequired,
69+
enableArea: PropTypes.bool.isRequired,
7070
areaOpacity: PropTypes.number.isRequired,
7171
lineWidth: PropTypes.number.isRequired,
7272
defs: PropTypes.arrayOf(

0 commit comments

Comments
 (0)