Skip to content

Commit

Permalink
pass options to component
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hardman committed Oct 30, 2020
1 parent 594febe commit 8cf8cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Theme/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const applyTheme = <T extends Options>(
return (
<Component
{...props}
{...options}
className={cx([options.className, props.className])}
/>
);
Expand Down

0 comments on commit 8cf8cd4

Please sign in to comment.