UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

20 lines (19 loc) 886 B
import type { ReactNode } from 'react'; export declare function flattenFragments<T = ReactNode>(children: T | T[], depth?: number): T[]; export declare const capitalizeFirstLetter: (s: string) => string; export declare const lowercaseFirstLetter: (s: string) => string; export declare const camelToKebabCase: (s: string) => string; export declare const kebabToCamelCase: (str: string) => string; export declare function getUi5TagWithSuffix(baseTagName: any): any; export declare const isSSR: () => boolean; export declare function trimAndRemoveSpaces(value: any): any; export declare const cssVarVersionInfoPrefix: string; export declare function getTagNameWithoutScopingSuffix(tagName: any): any; export declare function parseSemVer(version: string): { version: string; major: number; minor: number; patch: number; prerelease: string; buildMetadata: string; };