@extends('daylight::layouts.app')

@section('title', __('Categories'))

@section('content')
    <x-daylight::page-header :title=" __('Categories')">
        @can('update:customer-groups')
            <x-daylight::buttons.primary href="{{ route('daylight.store.categories.create') }}" element="a">
                {{ __('Create new category') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages/>

    <livewire:daylight::category-table />
@endsection
