# All files / label examples.data.tsx

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    551x
    1x

    1x
    1x

    1x

    1x
     import * as React from "react";
    import Label, {
        LabelHandledProps,
        LabelManagedClasses,
        LabelTag,
        LabelUnhandledProps
    } from "./label";
    import schema from "./label.schema.json";
    import Documentation from "./.tmp/documentation";
    import { ComponentFactoryExample } from "@microsoft/fast-development-site-react";

    const examples: ComponentFactoryExample<LabelHandledProps> = {
        name: "Label",
        component: Label,
        schema: schema as any,
        documentation: <Documentation />,
        detailData: {
            managedClasses: {
                label: "label",
                label__hidden: "hidden_label"
            },
            tag: LabelTag.label,
            children: "Label"
        },
        data: [
            {
                managedClasses: {
                    label: "label",
                    label__hidden: "hidden_label"
                },
                tag: LabelTag.label,
                children: "Label"
            },
            {
                managedClasses: {
                    label: "label",
                    label__hidden: "hidden_label"
                },
                tag: LabelTag.legend,
                children: "Legend label"
            },
            {
                managedClasses: {
                    label: "label",
                    label__hidden: "hidden_label"
                },
                hidden: true,
                tag: LabelTag.label,
                children: "Hidden label for screen readers"
            }
        ]
    };

    export default examples;