This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/react-rsbuild-plugin > PluginReactLynxOptions > defaultDisplayLinear

PluginReactLynxOptions.defaultDisplayLinear property

defaultDisplayLinear controls whether the default value of display in CSS is linear.

If defaultDisplayLinear === false, the default display would be flex instead of linear.

Signature:

defaultDisplayLinear?: boolean;

Default Value

true