aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/ViewPort/Field/Container.pm
blob: eddd899e5478f48165d214b92d87c32ee0028afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Reaction::UI::ViewPort::Field::Container;

use Reaction::Class;

use namespace::clean -except => [ qw(meta) ];
extends 'Reaction::UI::ViewPort';

use MooseX::Types::Moose qw/Str ArrayRef/;

has label => (is => 'ro', isa => Str);
has name  => (is => 'ro', isa => Str, required => 1);
has fields => (is => 'ro', isa => ArrayRef, required => 1);

__PACKAGE__->meta->make_immutable;

1;

__END__;