[TextField] Documentation Layout section mentions the property margin
which is overwritten by an sx
style
#26703
Labels
component: text field
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
This sections https://github.com/mui-org/material-ui/blob/next/docs/src/pages/components/text-fields/text-fields.md#layout has the following sentence:
The code indeed uses this property
https://github.com/mui-org/material-ui/blob/cf2f6fa90608b109978698fc48120920beaaa51f/docs/src/pages/components/text-fields/LayoutTextFields.tsx#L39
But it is overwritten by this
sx
stylehttps://github.com/mui-org/material-ui/blob/cf2f6fa90608b109978698fc48120920beaaa51f/docs/src/pages/components/text-fields/LayoutTextFields.tsx#L13
So everything has the same margin as you can see here
https://next.material-ui.com/components/text-fields/#layout
The text was updated successfully, but these errors were encountered: