"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const twrnc_1 = require("twrnc");
const tailwind_1 = __importDefault(require("../../lib/tailwind"));
const react_native_1 = require("react-native");
const react_native_gesture_handler_1 = require("react-native-gesture-handler");
const CardAudi = ({ headline, subheadline, url }) => {
    twrnc_1.useDeviceContext(tailwind_1.default);
    return (React.createElement(react_native_gesture_handler_1.TouchableOpacity, { style: tailwind_1.default.style("bg-black dark:bg-white rounded-none w-80 h-100 flex flex-col"), onPress: () => {
            console.log("pressed");
        } },
        React.createElement(react_native_1.Image, { source: {
                uri: url ||
                    "https://sleepymeerk.at/wp-content/uploads/2018/02/ich_sw2.jpg",
            }, style: tailwind_1.default.style("w-full min-h-250px flex-auto") }),
        React.createElement(react_native_gesture_handler_1.TouchableOpacity, { style: tailwind_1.default.style("mb-10px px-20px py-20px bg-black dark:bg-white"), onPress: () => {
                console.log("pressed2");
            } },
            React.createElement(react_native_1.Text, { style: tailwind_1.default.style("text-white dark:text-black text-base font-bold") }, headline),
            React.createElement(react_native_1.Text, { style: tailwind_1.default.style("text-white dark:text-black text-sm") }, subheadline))));
};
exports.default = CardAudi;
//# sourceMappingURL=index.js.map