Path: redb/redb.PropsEditor/Components/SchemeBrowser.razor
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.PropsEditor/Components/SchemeBrowser.razor
----
@using Microsoft.FluentUI.AspNetCore.Components
@* Displays list of available Props types for editing *@
Available Schemes
Select a Props type to manage. Use PropsGrid component with specific TProps type.
@if (Schemes.Count == 0)
{
No schemes configured. Add scheme cards to display available types.
}
else
{
@foreach (var scheme in Schemes)
{
@scheme.Name
@if (!string.IsNullOrEmpty(scheme.Description))
{
@scheme.Description
}
Manage
}
}
@code {
///
/// List of available schemes to display.
///
[Parameter]
public List Schemes { get; set; } = [];
///
/// Called when a scheme is selected.
///
[Parameter]
public EventCallback OnSchemeSelected { get; set; }
///
/// Information about a Props scheme.
///
public class SchemeInfo
{
public required string Name { get; init; }
public string? Description { get; init; }
}
}