@extends('layout.main')
@section('title', 'Produk')
@section('content')

<div class="row">
    <div class="col-12">

        <x-button href="{{ route('products.create') }}" class="mb-3">
            Tambah Produk
        </x-button>

        <x-table :headers="$headers" :rows="$rows" />

    </div>
</div>

@endsection
