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

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

        