"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconV1Test = void 0;
const react_1 = __importStar(require("react"));
const react_native_1 = require("react-native");
const icon_1 = require("@fluentui-react-native/icon");
const test_svg_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