Skip to content

Commit

Permalink
Monitoring: Use PatternFly's TextArea for silence form
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoto committed Apr 15, 2020
1 parent afa35b4 commit ea6ecfa
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions frontend/public/components/monitoring.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import * as classNames from 'classnames';
import * as _ from 'lodash-es';
import { murmur3 } from 'murmurhash-js';
import { Alert, ActionGroup, Badge, Button, TextInput, Tooltip } from '@patternfly/react-core';
import {
Alert,
ActionGroup,
Badge,
Button,
TextArea,
TextInput,
Tooltip,
} from '@patternfly/react-core';
import { sortable } from '@patternfly/react-table';
import * as React from 'react';
import { Helmet } from 'react-helmet';
Expand Down Expand Up @@ -1415,11 +1423,7 @@ const SilenceForm_: React.FC<SilenceFormProps> = ({ defaults, Info, title }) =>
</div>
<div className="form-group">
<label>Comment</label>
<textarea
className="pf-c-form-control"
onChange={(e) => setComment(e.currentTarget.value)}
value={comment}
/>
<TextArea aria-label="Comment" onChange={setComment} value={comment} />
</div>
</div>
</div>
Expand Down

0 comments on commit ea6ecfa

Please sign in to comment.