Skip to content

Commit

Permalink
fix: Add default export for the antd (#787)
Browse files Browse the repository at this point in the history
Add default export for the antd Switch component
  • Loading branch information
trexguo authored Apr 9, 2020
1 parent 944b6f7 commit 5f5d419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/antd-components/src/switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ export const Switch = connect({
valueName: 'checked',
getProps: mapStyledProps
})(acceptEnum(AntdSwitch))

export default Switch;

0 comments on commit 5f5d419

Please sign in to comment.