Skip to content

Commit

Permalink
fix: pass borderless prop to custom GenericPressable
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Oct 14, 2021
1 parent 7dc5577 commit f06af7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/render-html/src/GenericPressable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ export default function GenericPressable({
useSharedProps();
if (UserProvidedPressable) {
return (
<UserProvidedPressable style={style} {...(otherProps as any)}>
<UserProvidedPressable
style={style}
borderless={borderless}
{...(otherProps as any)}>
{children}
</UserProvidedPressable>
);
Expand Down

0 comments on commit f06af7a

Please sign in to comment.