@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
23 lines (22 loc) • 625 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import { styled } from "../internals/zero-styled/index.js";
/**
* @ignore - internal component.
*/
const TreeItemLabelInput = styled('input', {
name: 'MuiTreeItem',
slot: 'LabelInput'
})(({
theme
}) => _extends({}, theme.typography.body1, {
width: '100%',
backgroundColor: (theme.vars || theme).palette.background.paper,
borderRadius: theme.shape.borderRadius,
border: 'none',
padding: '0 2px',
boxSizing: 'border-box',
'&:focus': {
outline: `1px solid ${(theme.vars || theme).palette.primary.main}`
}
}));
export { TreeItemLabelInput };