diff --git a/docs/data/material/guides/composition/composition.md b/docs/data/material/guides/composition/composition.md index f6aba55198155b..51f5e5a0aa3d2f 100644 --- a/docs/data/material/guides/composition/composition.md +++ b/docs/data/material/guides/composition/composition.md @@ -26,105 +26,26 @@ WrappedIcon.muiName = Icon.muiName; MaterialĀ UI allows you to change the root element that will be rendered via a prop called `component`. -### How does it work? - -The custom component will be rendered by MaterialĀ UI like this: - -```js -return React.createElement(props.component, props); -``` - For example, by default a `List` component will render a `