diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index 6d02fc4..3609b83 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -41,7 +41,10 @@ Calendar Date & Time Picker + + Overview + diff --git a/BlazorFluentUI/Components/Pages/Components/CompoOverview.razor b/BlazorFluentUI/Components/Pages/Components/CompoOverview.razor new file mode 100644 index 0000000..7af629d --- /dev/null +++ b/BlazorFluentUI/Components/Pages/Components/CompoOverview.razor @@ -0,0 +1,39 @@ +@page "/compooverview" + +@rendermode RenderMode.InteractiveServer + +Basic Fluent UI Components overview + +Most components in the Fluent UI Blazor library derive from FluentComponentBase. +

FluentComponentBase

+FluentComponentBase is the abstract base class all other Fluent UI Blazor components inherit from. +You can not create or use a FluentComponentBase on a page or in another component. + +

Parameters

+ + + + + + + +@code { + record Explanation(string Name, string Type, string Default, string Description); + static IQueryable explantion = new[] + { + new Explanation("AdditionalAttribute", "IReadOnlyDictionary?", "null", + "Gets or sets a collection of additional attributes."), + new Explanation("Class", "string?", "null", + "Gets or sets optional CSS class names. If given, these will be included in the class attribute of the component."), + new Explanation("Data", "object?", "null", + "Used to attach any user defined data object to the component."), + new Explanation("Element", "ElementReference", "null", + "Gets or sets the associated web component."), + new Explanation("Id", "string?", "null", + "Gets or sets an optional Id for the component. A unique id can be generated with Identifier.NewId() method. The value will be used as the HTML global id attribute."), + new Explanation("ParentReference", "Reference?", "null", + "Gets or sets a reference to the enclosing component."), + new Explanation("Style", "string?", "null", + "Optional in-line styles. If given, these will be included in the style attribute of the component."), + }.AsQueryable(); +}