bnomei/kirby-blueprints

View on GitHub
classes/Blueprints/Attributes/Size.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Bnomei\Blueprints\Attributes;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
class Size extends GenericAttribute
{
    /**
     * Changes the size of the textarea. Available sizes: small, medium, large, huge
     */
    public function __construct(
        public string $size // small, medium, large, huge
    ) {}
}