@shopify/polaris
Version:
Shopify’s admin product component library
18 lines (14 loc) • 536 B
JavaScript
var React = require('react');
const RowContext = /*#__PURE__*/React.createContext({});
const RowHoveredContext = /*#__PURE__*/React.createContext(undefined);
const scrollDefaultContext = {
scrollableContainer: null,
canScrollLeft: false,
canScrollRight: false
};
const ScrollContext = /*#__PURE__*/React.createContext(scrollDefaultContext);
exports.RowContext = RowContext;
exports.RowHoveredContext = RowHoveredContext;
exports.ScrollContext = ScrollContext;
exports.scrollDefaultContext = scrollDefaultContext;
;