import { getVisualStateDataAttributes } from './getVisualStateDataAttributes.js';
import { tryGetBoolean } from './tryGetBoolean.js';
export function getCommonVisualStateDataAttributes(componentProps) {
    return getVisualStateDataAttributes({
        error: tryGetBoolean(componentProps['error']),
        warning: tryGetBoolean(componentProps['warning']),
    });
}
//# sourceMappingURL=getCommonVisualStateDataAttributes.js.map