ButtonUnstyled API
API documentation for the React ButtonUnstyled component. Learn about the available props, and the CSS API.
Import
import ButtonUnstyled from '@mui/core/ButtonUnstyled';
// 或
import { ButtonUnstyled } from '@mui/core';
属性
Props of the 原生(Native) component are also available.
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
action | func | { current?: { focusVisible: func } } | ||
component | elementType | 'button' | The component used for the Root slot. Either a string to use a HTML element or a component. This is equivalent to components.Root . If both are provided, the component is used. |
components | { Root?: elementType } | {} | |
disabled | bool | false |
ref
则会被传递到根元素中。