Any and all help is appreciated! But here are some guidelines:
If you want to add a new control, follow the format of all of the other controls.
- Namespace is
BlazorFluentUI
. - Control should use
FluentUIComponentBase
as the base class.- Add
Styles
andClassName
contents to the appropriate element.
- Add
- Class names mimic the original fabric-react class names with some exceptions:
- where style depends on state, use a double dash followed by the state name to create your style.
i.e.
ms-Spinner--right
is a class that is placed into the set of class names whenSpinner
'sLabelPosition
is set toRight
- where style depends on state, use a double dash followed by the state name to create your style.
i.e.
- New javascript that is potentially usable by all controls should be placed into the
BaseComponent
control'sbaseComponent.ts
.
This is an evolving library mostly put together through trial and error. There is a lot of disorganization and likely inefficiencies. I welcome all suggestions.