interface ReactElementToJSXStringOptions {
    displayName?: ((element: ReactNode) => string);
    filterProps?: string[] | FilterPropsFunction;
    functionValue?: ((fn: any) => any);
    maxInlineAttributesLineLength?: number;
    showDefaultProps?: boolean;
    showFunctions?: boolean;
    sortProps?: boolean;
    tabStop?: number;
    useBooleanShorthandSyntax?: boolean;
    useFragmentShortSyntax?: boolean;
}

Properties

displayName?: ((element: ReactNode) => string)
filterProps?: string[] | FilterPropsFunction
functionValue?: ((fn: any) => any)
maxInlineAttributesLineLength?: number
showDefaultProps?: boolean
showFunctions?: boolean
sortProps?: boolean
tabStop?: number
useBooleanShorthandSyntax?: boolean
useFragmentShortSyntax?: boolean