/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.0.0-canary-2305ece
 * Released under the MIT license.
 */

/** Converts AriaButtonProps to CubeButtonProps */
export function ariaToCubeButtonProps(props) {
    const { type, ...filteredProps } = props;
    return {
        ...filteredProps,
        htmlType: type,
    };
}
/** Converts CubeButtonProps to AriaButtonProps */
export function cubeToAriaButtonProps(props) {
    const { htmlType, ...filteredProps } = props;
    return {
        ...filteredProps,
        type: htmlType,
    };
}

        