/*!
 * KoliBri - The accessible HTML-Standard
 */
import { createPropDefinition } from "./helpers/factory";
import { normalizeString } from "./helpers/normalizers";
export const orientationOptions = ['horizontal', 'vertical'];
export const orientationProp = createPropDefinition('orientation', 'horizontal', (value) => {
    const str = normalizeString(value);
    if (orientationOptions.includes(str)) {
        return str;
    }
    throw new Error(`Invalid orientation: ${str}`);
});
//# sourceMappingURL=orientation.js.map
