Skip to content

Commit

Permalink
feat(rax-compat): remove props handle
Browse files Browse the repository at this point in the history
  • Loading branch information
linbudu599 committed May 21, 2024
1 parent d98202a commit 4866d0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/rax-compat/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function transformProps(props: ComponentProps<JSXElementConstructor<any>>): Reco
} else {
// Handles component props from rax-components like resizeMode, this causes React to throw a warning.
key = lowerCasedPropKey;
val = typeof val === 'boolean' ? val.toString() : val;
}

transformedProps[key] = val;
Expand Down

0 comments on commit 4866d0c

Please sign in to comment.