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

import { Children, isValidElement } from 'react';
export function isTextOnly(children) {
    return Children.toArray(children).every((c) => !isValidElement(c));
}

        