"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconV1Test = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importStar(require("react"));
const react_native_1 = require("react-native");
const icon_1 = require("@fluentui-react-native/icon");
const test_svg_1 = tslib_1.__importDefault(require("../../../assets/test.svg"));
const fontBuiltInProps = {
    fontFamily: 'Arial',
    codepoint: 0x2663,
    fontSize: 100,
    color: '#f09',
};
const svgUriProps = {
    uri: 'https://upload.wikimedia.org/wikipedia/commons/d/d0/Drawsvgbird.svg',
    viewBox: '0 0 1000 1000',
    width: 100,
    height: 100,
};
const svgSrcProps = {
    viewBox: '0 0 500 500',
    src: test_svg_1.default,
};
const IconV1Test = () => {
    const svgSource = (0, react_1.useMemo)(() => ({
        color: 'lightgreen',
        width: 72,
        height: 72,
        ...svgSrcProps,
    }), []);
    const fontSource = (0, react_1.useMemo)(() => ({
        ...fontBuiltInProps,
        color: 'lightskyblue',
    }), []);
    return (react_1.default.createElement(react_native_1.View, null,
        react_1.default.createElement(react_native_1.Text, null, "Icon component"),
        react_1.default.createElement(icon_1.IconV1, { svgSource: svgSrcProps, color: "red", size: 16 }),
        react_1.default.createElement(icon_1.IconV1, { svgSource: svgSrcProps, color: "blue", size: 40 }),
        react_1.default.createElement(icon_1.IconV1, { svgSource: svgSource }),
        react_1.default.createElement(icon_1.IconV1, { svgSource: svgUriProps }),
        react_1.default.createElement(icon_1.IconV1, { fontSource: fontSource, color: "red" }),
        react_1.default.createElement(react_native_1.Text, null, "SVG"),
        react_1.default.createElement(icon_1.SvgIcon, { color: "green", ...svgSrcProps, width: 48, height: 48 }),
        react_1.default.createElement(react_native_1.Text, null, "FontIcon"),
        react_1.default.createElement(icon_1.FontIcon, { ...fontBuiltInProps })));
};
exports.IconV1Test = IconV1Test;
//# sourceMappingURL=IconV1Test.android.js.map