From 00fe1bfdc6d4255711ee2fd0e8f73fbae25a632a Mon Sep 17 00:00:00 2001 From: Yihui Liao <44729383+yihuiliao@users.noreply.github.com> Date: Tue, 26 May 2026 15:54:26 -0700 Subject: [PATCH] docs: add api section with slots to DragPreview --- packages/dev/s2-docs/pages/s2/dnd.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/dev/s2-docs/pages/s2/dnd.mdx b/packages/dev/s2-docs/pages/s2/dnd.mdx index bd24783033a..d828899d855 100644 --- a/packages/dev/s2-docs/pages/s2/dnd.mdx +++ b/packages/dev/s2-docs/pages/s2/dnd.mdx @@ -909,4 +909,12 @@ Note that because mouse and touch drag and drop interactions utilize the native ### DragPreview +```tsx links={{Button: '#button', Icon: 'icons', Text: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span'}} + + + + + +``` +