21 lines
439 B
PHP
21 lines
439 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Contacts\Schemas;
|
|
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class ContactForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')
|
|
->required(),
|
|
TextInput::make('type')
|
|
->required(),
|
|
]);
|
|
}
|
|
}
|