@isotope/prototope
Version:
Isotope-based JavaScript library for speedy UI prototyping
13 lines • 308 B
JavaScript
import { createUtil } from "../util";
/**
* Prototope opacity util.
*
* @param value - Config value.
* @returns - Prototope util.
*/
const opacity = (value) => {
const divider = 100;
return createUtil({ opacity: `${value / divider}` });
};
export { opacity };
//# sourceMappingURL=opacity.js.map