UNPKG

@sap-ux/ui-components

Version:

SAP UI Components Library

21 lines 872 B
import type { ReactElement } from 'react'; import type { UITranslationProps, TranslationSuggest, TranslationEntry } from './UITranslationButton.types.js'; import './UITranslationInput.scss'; export interface UITranslationButtonProps<T extends TranslationEntry> extends UITranslationProps<T> { onUpdateValue?: (value: string) => void; suggestion: TranslationSuggest<T>; /** * Inverted style theme * * @default false */ invertedCalloutTheme?: boolean; } /** * Component to render translation button to provide helper callout with i18n generation option. * * @param props Component properties. * @returns Component to render translation button with callout. */ export declare const UITranslationButton: <T extends TranslationEntry>(props: UITranslationButtonProps<T>) => ReactElement; //# sourceMappingURL=UITranslationButton.d.ts.map