You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/api/paper.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
29
29
| <spanclass="prop-name">component</span> | <spanclass="prop-type">elementType</span> | <spanclass="prop-default">'div'</span> | The component used for the root node. Either a string to use a DOM element or a component. |
30
30
| <spanclass="prop-name">elevation</span> | <spanclass="prop-type">number</span> | <spanclass="prop-default">1</span> | Shadow depth, corresponds to `dp` in the spec. It accepts values between 0 and 24 inclusive. |
31
31
| <spanclass="prop-name">square</span> | <spanclass="prop-type">bool</span> | <spanclass="prop-default">false</span> | If `true`, rounded corners are disabled. |
32
+
| <spanclass="prop-name">variant</span> | <spanclass="prop-type">'elevation'<br>| 'outlined'</span> | <spanclass="prop-default">'elevation'</span> | The variant to use. |
32
33
33
34
The `ref` is forwarded to the root element.
34
35
@@ -43,6 +44,7 @@ Any other props supplied will be provided to the root element (native element).
43
44
|:-----|:-------------|:------------|
44
45
| <spanclass="prop-name">root</span> | <spanclass="prop-name">.MuiPaper-root</span> | Styles applied to the root element.
45
46
| <spanclass="prop-name">rounded</span> | <spanclass="prop-name">.MuiPaper-rounded</span> | Styles applied to the root element if `square={false}`.
47
+
| <spanclass="prop-name">outlined</span> | <spanclass="prop-name">.MuiPaper-outlined</span> | Styles applied to the root element if `variant="outlined"`
0 commit comments