Skip to content

docs(base/data-table): replace asChild with render prop in DropdownMenuTrigger#10980

Open
creazyfrog wants to merge 1 commit into
shadcn-ui:mainfrom
creazyfrog:fix/10934-base-data-table-asChild-to-render
Open

docs(base/data-table): replace asChild with render prop in DropdownMenuTrigger#10980
creazyfrog wants to merge 1 commit into
shadcn-ui:mainfrom
creazyfrog:fix/10934-base-data-table-asChild-to-render

Conversation

@creazyfrog

Copy link
Copy Markdown

Summary

Changes

  • apps/v4/content/docs/components/base/data-table.mdx: replaced <DropdownMenuTrigger asChild><Button .../></DropdownMenuTrigger> with <DropdownMenuTrigger render={<Button ... />}> in two places (row actions and column visibility snippets)

Testing

Docs-only change — no runtime behavior modified. Verified the updated snippets match the pattern used in apps/v4/content/docs/components/base/dropdown-menu.mdx.

Closes #10934

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

@creazyfrog is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@creazyfrog creazyfrog force-pushed the fix/10934-base-data-table-asChild-to-render branch from 07e1dd2 to f3e80bb Compare June 21, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Base data table docs use Radix asChild prop in DropdownMenuTrigger for Base UI snippets

1 participant