Skip to content
Block PartsPro

Invite Row

An email field and a role picker for inviting one person, with a button to remove the row.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { InviteRow, InviteRowProps } from "@wunderui/react"

API Reference

PropTypeDefault
emailstring—
rolestring—
rolesstring[]["Admin", "Editor", "Viewer"]
onEmailChange(email: string) => void—
onRoleChange(role: string) => void—
onRemove() => void—
stackedboolean—
classNamestring—