add nova
This commit is contained in:
25
nova/src/Fields/SupportsFullWidthFields.php
Normal file
25
nova/src/Fields/SupportsFullWidthFields.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Nova\Fields;
|
||||
|
||||
trait SupportsFullWidthFields
|
||||
{
|
||||
/**
|
||||
* Indicates whether the field should use all available white-space.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $fullWidth = false;
|
||||
|
||||
/**
|
||||
* Set the field to use all the available white-space.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function fullWidth()
|
||||
{
|
||||
$this->fullWidth = true;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user