tweak-tools
Version:
Tweak your React projects until awesomeness
10 lines (9 loc) • 481 B
TypeScript
import React from 'react';
import { ValueInputProps } from '../ValueInput';
import type { StringProps } from './string-types';
declare type BaseStringProps = Pick<StringProps, 'displayValue' | 'onUpdate' | 'onChange'> & Omit<ValueInputProps, 'value'> & {
editable?: boolean;
};
export declare function String({ displayValue, onUpdate, onChange, editable, ...props }: BaseStringProps): React.JSX.Element;
export declare function StringComponent(): React.JSX.Element;
export {};