Skip to content

Commit

Permalink
fix(layout-sider): support layout-sider trigger slot (#5317)
Browse files Browse the repository at this point in the history
* fix(layout-sider): support layout-sider trigger slot

* fix: sider trigger support slot

Co-authored-by: huangchengjie <huangchengjie@dm-ai.com>
Co-authored-by: tangjinzhou <415800467@qq.com>
  • Loading branch information
3 people authored Mar 12, 2022
1 parent 87a0cd5 commit fe4c3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/Sider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default defineComponent({
width,
reverseArrow,
zeroWidthTriggerStyle,
trigger,
trigger = slots.trigger?.(),
collapsible,
theme,
} = props;
Expand Down

0 comments on commit fe4c3e6

Please sign in to comment.