render NitroKit::DataSection.new(
title: "Workspace members",
description: "Active, invited, and suspended access across every project.",
id: "gallery-data-section-complete"
) do |section|
section.actions NitroKit::ButtonGroup.new(label: "Member data actions") do |actions|
actions.button("Export CSV", href: "#export")
actions.button("Invite teammate", href: "#invite", variant: :primary)
end
section.table(member_table(id: "gallery-data-section-complete-table", count: 4)) do |table|
render_member_rows(table, 4)
end
end