blankField.tsx 436 B

12345678910111213141516
  1. import * as React from 'react';
  2. import Field from 'app/views/settings/components/forms/field';
  3. type Props = Field['props'];
  4. /**
  5. * This class is meant to hook into `fieldFromConfig`. Like the FieldSeparator
  6. * class, this doesn't have any fields of its own and is just meant to make
  7. * forms more flexible.
  8. */
  9. export default class BlankField extends React.Component<Props> {
  10. render() {
  11. return <Field {...this.props} />;
  12. }
  13. }