@tolokoban/ui
Version:
React components with theme
23 lines • 1.02 kB
TypeScript
import * as React from "react";
import { DimensionStyleProps } from "../../theme/styles/dimension.js";
import { PositionStyleProps } from "../../theme/styles/position.js";
import { ChildStyleProps } from "../../theme/styles/child.js";
import { Children, ViewWithValue } from "../../types.js";
export interface InputMultiTextProps extends ViewWithValue<{
[lang: string]: string;
}>, ChildStyleProps, PositionStyleProps, DimensionStyleProps {
className?: string;
label?: React.ReactNode;
/** What element of the `value` to edit. */
lang: string;
onLangChange(this: void, lang: string): void;
/**
* Set this function to change how the keys will be
* rendered.
* By default, the keys are rendered as the string
* they are, verbatim.
*/
renderLang?(this: void, lang: string, selected: boolean): Children;
}
export declare function ViewInputMultiText(props: InputMultiTextProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=InputMultiText.d.ts.map