From 09e9c80af4b3dcf776a747999b7f077364f87a2f Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Fri, 6 May 2016 12:13:07 -0700 Subject: [PATCH] feat(babel6): update unused prop syntax --- src/components/table.jsx | 6 ++++-- src/pro | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/table.jsx b/src/components/table.jsx index 800c2c3a0..ed3cddabf 100644 --- a/src/components/table.jsx +++ b/src/components/table.jsx @@ -14,10 +14,12 @@ const TablePropTypes = { }), } -export function TableCell({className = '', isHeader, children, ...props}) { +export function TableCell(props) { + const {className, isHeader, children} = props; + const continuedProps = _.omit(props, "className", "isHeader", "children") const CellTag = isHeader ? 'th' : 'td' return ( - + {children} ) diff --git a/src/pro b/src/pro index c4244e484..ba395a9cf 160000 --- a/src/pro +++ b/src/pro @@ -1 +1 @@ -Subproject commit c4244e4845241558ba17a9419551a44de37b2fa8 +Subproject commit ba395a9cf8757a442d09862621b1bc91b52f8fa7