Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
Fix issue where wrap was being appended to html props
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Aug 13, 2020
1 parent 83b04f7 commit ef0cd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bumbag/src/utils/htmlProps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import isPropValid from '@emotion/is-prop-valid';

const omitProps = ['focusable', 'spacing', 'size', 'kind', 'variant', 'orientation'];
const omitProps = ['focusable', 'spacing', 'size', 'kind', 'variant', 'orientation', 'wrap', 'colorMode'];

export function pickHTMLProps<P extends object>(props: P) {
const filteredProps: Partial<P> = {};
Expand Down

0 comments on commit ef0cd22

Please sign in to comment.