/*!
 * KoliBri - The accessible HTML-Standard
 */
import { createPropDefinition } from "./helpers/factory";
import { normalizeString } from "./helpers/normalizers";
export const spinVariantOptions = ['dot', 'cycle', 'none'];
export const variantSpinProp = createPropDefinition('variant', 'dot', (value) => {
    const str = normalizeString(value);
    if (spinVariantOptions.includes(str)) {
        return str;
    }
    throw new Error(`Invalid spin variant: ${str}`);
}, () => true);
//# sourceMappingURL=variant-spin.js.map
