package Reaction::UI::ViewPort::Field::Text;
use Reaction::Class;
+use namespace::clean -except => [ qw(meta) ];
+use MooseX::Types::Moose qw/Str/;
-class Text is 'Reaction::UI::ViewPort::Field', which {
+extends 'Reaction::UI::ViewPort::Field';
- has '+value' => (isa => 'Str');
- #has '+layout' => (default => 'textarea');
+has '+value' => (isa => Str);
-};
+__PACKAGE__->meta->make_immutable;
1;
-
-=head1 NAME
-
-Reaction::UI::ViewPort::Field::Text
-
-=head1 DESCRIPTION
-
-=head1 SEE ALSO
-
-=head2 L<Reaction::UI::ViewPort::Field>
-
-=head1 AUTHORS
-
-See L<Reaction::Class> for authors.
-
-=head1 LICENSE
-
-See L<Reaction::Class> for the license.
-
-=cut