UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

18 lines (17 loc) 433 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LIST_FUNCTIONAL_STYLES = void 0; exports.clearStyles = clearStyles; function clearStyles(element, originalStyles) { if (element) { Object.assign(element.style, originalStyles); } } const LIST_FUNCTIONAL_STYLES = exports.LIST_FUNCTIONAL_STYLES = { position: 'relative', maxHeight: '100%', overflowX: 'hidden', overflowY: 'auto' };