<script setup lang="ts">
    import { windheaderData, windtableData } from '@/pages/business/monitor/wind/config'

    defineProps({
        tableData: {
            type: Array,
            default: () => windtableData,
        },
        headerData: {
            type: Array,
            default: () => windheaderData,
        },
    })
</script>

<template>
    <view @click="clickTest" class="tablewrap">
        <fui-table
            :itemList="tableData"
            :header="headerData"
            size="24"
            textSize="24"
            color="#1890FF"
            textColor="#666666"
            headerBgColor="rgba(24,144,255,0.08)"
            gap="30"
            padding="14"
            borderColor="rgba(24,144,255,0.08)"
        />
    </view>
</template>

<style lang="less" scoped>
    .tablewrap {
        margin-top: 5px;
    }
</style>
