Skip to content

Commit

Permalink
fix(react): fix position props in StudioPanel (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyong committed Dec 3, 2021
1 parent f71a1f4 commit 30aa824
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react/src/panels/StudioPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ const StudioPanelInternal: React.FC<IStudioPanelProps> = ({

export const StudioPanel: React.FC<IStudioPanelProps> = (props) => {
return (
<Layout theme={props.theme} prefixCls={props.prefixCls}>
<Layout
theme={props.theme}
prefixCls={props.prefixCls}
position={props.position}
>
<StudioPanelInternal {...props} />
</Layout>
)
Expand Down

0 comments on commit 30aa824

Please sign in to comment.