Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove omit props from Input
  • Loading branch information
daddou-ma committed Mar 21, 2021
commit be692d164fd7afa7cef97cbaf41eba6857336903
7 changes: 1 addition & 6 deletions packages/components/src/color-picker/inputs.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/**
* External dependencies
*/
import { omit } from 'lodash';

/**
* WordPress dependencies
*/
Expand Down Expand Up @@ -77,7 +72,7 @@ export function Input( {
onChange={ ( newValue ) => handleChange( newValue ) }
onBlur={ handleBlur }
onKeyDown={ handleKeyDown }
{ ...omit( props, [ 'onChange', 'valueKey', 'source' ] ) }
{ ...props }
/>
);
}
Expand Down