/*!
 * KoliBri - The accessible HTML-Standard
 */
import { alignPropTypeOptions } from "../../schema";
import { createPropDefinition } from "./helpers/factory";
import { normalizeString } from "./helpers/normalizers";
export const alignProp = createPropDefinition('align', 'top', (value) => {
    const str = normalizeString(value);
    if (alignPropTypeOptions.includes(str)) {
        return str;
    }
    throw new Error(`Invalid align value: ${str}`);
}, (v) => alignPropTypeOptions.includes(v));
//# sourceMappingURL=align.js.map
