@gravity-ui/uikit
Version:
Gravity UI base styling and components
11 lines (10 loc) • 451 B
TypeScript
import * as React from 'react';
export declare const b: import("@bem-react/classname").ClassNameFormatter;
/**
* This is not a full hash, but a stable string that will change when:
* - the text changes at any level of nesting
* - the component type changes
* - primitive props change (className, title, href, etc.)
* - elements are added, removed, or reordered
*/
export declare function getReactNodeHash(children: React.ReactNode): string;