Sistema de controles da União de Ciclistas do Brasil
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
@props([
|
|
|
'label' => null,
|
|
|
'state' => null,
|
|
|
])
|
|
|
|
|
|
<div>
|
|
|
<label class="inline-flex items-center space-x-2 @if ($state === false) text-red-900 @endif">
|
|
|
|
|
|
<input
|
|
|
{{ $attributes }}
|
|
|
type="radio"
|
|
|
class="form-radio
|
|
|
@if ($state === false) border-red-300 focus:border-red-300 focus:shadow-outline-red @endif"
|
|
|
/>
|
|
|
|
|
|
@if ($label)
|
|
|
<span class="text-sm">
|
|
|
{{ $label }}
|
|
|
</span>
|
|
|
@else
|
|
|
{{ $slot }}
|
|
|
@endif
|
|
|
|
|
|
</label>
|
|
|
</div>
|