@microsoft/fast-components > provideFASTDesignSystem
provideFASTDesignSystem() function
Provides a design system for the specified element either by returning one that was already created for that element or creating one.
Signature:export declare function provideFASTDesignSystem(element?: HTMLElement): DesignSystem;
Parameters
Parameter | Type | Description |
---|---|---|
element | HTMLElement | The element to root the design system at. By default, this is the body. |
A FAST Design System