import { Fun } from '@ephox/katamari';
import { Width } from '@ephox/sugar';
// applies the max-width as determined by Bounder
const expandable = Fun.constant((element, available) => {
    Width.setMax(element, Math.floor(available));
});
export { expandable };
//# sourceMappingURL=MaxWidth.js.map