We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panel-extra
panelLock
Hi, in the example there are two parameters (panelData, context) at line 77
rc-dock/example/panel-extra.jsx Lines 75 to 81 in bec7fff panelLock: { minWidth: 200, panelExtra: (panelData, context) => ( <button className='btn' onClick={() => context.dockMove(newTab(), panelData, 'middle')}> add </button> but in the type definition, there is only one parameter (panelData) rc-dock/es/DockData.d.ts Line 191 in bec7fff panelExtra?: (panel: PanelData) => React.ReactElement;
rc-dock/example/panel-extra.jsx
Lines 75 to 81 in bec7fff
rc-dock/es/DockData.d.ts
Line 191 in bec7fff
I am confused about this example when using rc-dock in tsx. Could you please tell me more?
tsx
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, in the example there are two parameters (panelData, context) at line 77
I am confused about this example when using rc-dock in
tsx
.Could you please tell me more?
Thanks.
The text was updated successfully, but these errors were encountered: