// @flow // Used as a wrapper for FormField to produce inline form elements import * as React from 'react'; import classnames from 'classnames'; type Props = { children: React.Node, padded?: boolean, verticallyCentered?: boolean, stretch?: boolean, alignRight?: boolean, centered?: boolean, }; export class FormRow extends React.PureComponent { static defaultProps = { padded: false, }; render() { const { children, padded, verticallyCentered, stretch, alignRight, centered } = this.props; return (
{children}
); } } export default FormRow;