@sap-ux/ui-components
Version:
SAP UI Components Library
15 lines • 760 B
TypeScript
import type { ReactElement } from 'react';
import type { UITranslationProps, TranslationSuggest, TranslationEntry } from './UITranslationButton.types';
import './UITranslationInput.scss';
export interface UITranslationButtonProps<T extends TranslationEntry> extends UITranslationProps<T> {
onUpdateValue?: (value: string) => void;
suggestion: TranslationSuggest<T>;
}
/**
* 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