Skip to content
New issue

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

feat(data-table): add renderButton callback to row action #4563

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

chasestarr
Copy link
Collaborator

Description

Sometimes an application needs to have complete control of the button rendering in each row. This PR adds a new renderButton fn to data-table row actions so that it can be replaced however needed

Scope

@vercel
Copy link

vercel bot commented Oct 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/uber-ui-platform/baseweb/7FhyDv5QXzEBGtVRqcNojkkTvc9S
✅ Preview: https://baseweb-git-data-table-render-action-button-uber-ui-platform.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 7, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1abf509:

Sandbox Source
Basic usage Configuration

@UberOpenSourceBot
Copy link
Contributor

Visual changes were detected on this branch. Please review the following PR containing updated snapshots: #4566

Co-authored-by: UberOpenSourceBot <UberOpenSourceBot@users.noreply.github.com>
@chasestarr chasestarr merged commit a7ae226 into master Oct 8, 2021
@chasestarr chasestarr deleted the data-table-render-action-button branch October 8, 2021 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants