@wordpress/components
Version:
UI components for WordPress.
31 lines (30 loc) • 695 B
JavaScript
import { __ } from "@wordpress/i18n";
// packages/components/src/font-size-picker/constants.ts
/**
* List of T-shirt abbreviations.
*
* When there are 5 font sizes or fewer, we assume that the font sizes are
* ordered by size and show T-shirt labels.
*/
const T_SHIRT_ABBREVIATIONS = [
__("S"),
__("M"),
__("L"),
__("XL"),
__("XXL")
];
/**
* List of T-shirt names.
*
* When there are 5 font sizes or fewer, we assume that the font sizes are
* ordered by size and show T-shirt labels.
*/
const T_SHIRT_NAMES = [
__("Small"),
__("Medium"),
__("Large"),
__("Extra Large"),
__("Extra Extra Large")
];
export { T_SHIRT_ABBREVIATIONS, T_SHIRT_NAMES };
//# sourceMappingURL=constants.mjs.map