import { ReactiveFormsModule } from '@angular/forms';
import { TextareaComponent } from './textarea.component';
import { UiTextareaModule } from './textarea.module';

export default { title: 'Textarea', component: TextareaComponent };

const componentModule = {
  moduleMetadata: {
    imports: [ReactiveFormsModule, UiTextareaModule],
  },
};

export const standard = () => ({
  ...componentModule,
  template: '<ui-textarea></ui-textarea>',
});
