Skip to main content
Version: 1.x

@microsoft/fast-components > fastDivider

fastDivider variable

A function that returns a Divider registration for configuring the component with a DesignSystem. Implements dividerTemplate

Signature:
fastDivider: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<Divider, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<Divider, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>;
styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles, import("@microsoft/fast-foundation").FoundationElementDefinition>;
}, typeof Divider>

Remarks

Generates HTML Element: <fast-divider>