options.js.flow 394 B

1234567891011121314151617
  1. /* @flow */
  2. import * as React from 'react';
  3. export type Options = {|
  4. filterProps: string[],
  5. showDefaultProps: boolean,
  6. showFunctions: boolean,
  7. functionValue: Function,
  8. tabStop: number,
  9. useBooleanShorthandSyntax: boolean,
  10. useFragmentShortSyntax: boolean,
  11. sortProps: boolean,
  12. maxInlineAttributesLineLength?: number,
  13. displayName?: (element: React.Element<*>) => string,
  14. |};