实质性的UI api文档过时了吗? [英] Material UI api docs out of date?
本文介绍了实质性的UI api文档过时了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Material UI api文档是否可能已过时?还是有其他地方可以检查元素首选项?
Is it possible that the Material UI api docs are out of date? Or is there another place to check for element preferences?
即MenuList https://material-ui.com/api/menu-list/具有属性 disablePadding
可以禁用元素的顶部和底部填充,但是没有明显的文档.
i.e. MenuList https://material-ui.com/api/menu-list/ has a property disablePadding
to disable the top and bottom padding of the element, but there is no apparent documentation on that.
import { MenuList } from "@material-ui/core";
...
<MenuList disablePadding> ... </MenuList>
推荐答案
disablePadding来自列表组件.
disablePadding is from the List component.
在继承"部分:
列表"组件的属性也可用.
The properties of the List component are also available.
这篇关于实质性的UI api文档过时了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文