pouncejs
Version:
A collection of UI components from Panther labs
23 lines (17 loc) • 693 B
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _system = require("../../system");
var _helpers = require("../../utils/helpers");
/**
* Responsive box-model layout component. Apart from the defined props,
* it also supports all the native HTML attributes.
* */
var Box = (0, _system.pounce)('div'); // FIXME: This overrides the fact that the box is a `div`. Components implementing this will warn us
// that they can't implement `<Box>` when they themselves are not a div. We should ideally fix that
// and have `ref` can be properly typed in all components
var _default = Box;
exports.default = _default;
if (_helpers.__DEV__) {
Box.displayName = 'Box';
}