@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
20 lines • 709 B
JavaScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint-disable import/prefer-default-export */
import IconButton, { iconButtonClasses, } from '@mui/material/IconButton';
import { styled } from "../../helpers/styled";
export var StyledIconButton = styled(IconButton)(function (_a) {
var _b;
var $isHidden = _a.$isHidden;
return (_b = {},
_b["&.".concat(iconButtonClasses.root)] = {
opacity: $isHidden ? 0 : undefined,
pointerEvents: $isHidden ? 'none' : undefined,
},
_b);
});
//# sourceMappingURL=styles.js.map