fast-divider

A web component implementation of a horizontal rule.

Usage

Live Editor
Result

Applying custom styles

import { customElement } from "@microsoft/fast-element";
import { Divider, DividerTemplate as template } from "@microsoft/fast-foundation";
import { DividerStyles as styles } from "./divider.styles";
@customElement({
name: "fast-divider",
template,
styles,
})
export class FASTDivider extends Divider {}