import * as React from 'react';
import { View /*Switch */ } from 'react-native';
//import type { SpinnerStatus } from '@fluentui-react-native/spinner';
import { Spinner } from '@fluentui-react-native/spinner';
import { Stack } from '@fluentui-react-native/stack';
import { TextV1 as Text } from '@fluentui-react-native/text';
import { E2ETestingSpinner } from './SpinnerE2ETest';
import { SPINNER_TESTPAGE } from '../../../../E2E/src/Spinner/consts';
import { stackStyle, commonTestStyles as commonStyles } from '../Common/styles';
import { Test } from '../Test';
var BasicSpinnerTest = function () {
    return (React.createElement(Stack, { style: stackStyle },
        React.createElement(View, { style: commonStyles.root },
            React.createElement(View, { style: commonStyles.settings }),
            React.createElement(Spinner, null))));
};
var SpinnerSizeTest = function () {
    return (React.createElement(Stack, { style: stackStyle },
        React.createElement(View, null,
            React.createElement(View, null,
                React.createElement(Text, null, "tiny"),
                React.createElement(Spinner, { size: "tiny" })),
            React.createElement(View, null,
                React.createElement(Text, null, "x-small"),
                React.createElement(Spinner, { size: "x-small" })),
            React.createElement(View, null,
                React.createElement(Text, null, "small"),
                React.createElement(Spinner, { size: "small" })),
            React.createElement(View, null,
                React.createElement(Text, null, "medium"),
                React.createElement(Spinner, { size: "medium" })),
            React.createElement(View, null,
                React.createElement(Text, null, "large"),
                React.createElement(Spinner, { size: "large" })),
            React.createElement(View, null,
                React.createElement(Text, null, "x-large"),
                React.createElement(Spinner, { size: "x-large" })),
            React.createElement(View, null,
                React.createElement(Text, null, "huge"),
                React.createElement(Spinner, { size: "huge" })))));
};
var spinnerSections = [
    {
        name: 'Basic Spinner Test',
        testID: SPINNER_TESTPAGE,
        component: BasicSpinnerTest,
    },
    {
        name: 'Spinner Size Test',
        component: SpinnerSizeTest,
    },
    {
        name: 'Spinner for E2E Testing',
        component: function () { return React.createElement(E2ETestingSpinner, null); },
    },
];
export var SpinnerTest = function () {
    var status = {
        win32Status: 'Experimental',
        uwpStatus: 'Backlog',
        iosStatus: 'Beta',
        macosStatus: 'Backlog',
        androidStatus: 'Backlog',
    };
    var description = 'Spinner is a visual representation that data is being loaded. It is implemented with a View wrapping an Animated SVG. The View is to ensure that AccessibilityRole works. AccessibilityRole currently does not work on SVGs.';
    return React.createElement(Test, { name: "Spinner Test", description: description, sections: spinnerSections, status: status });
};
//# sourceMappingURL=SpinnerTest.win32.js.map