@kwiz/fluentui
Version:
KWIZ common controls for FluentUI
15 lines (14 loc) • 642 B
TypeScript
import { InputProps } from '@fluentui/react-components';
import React from 'react';
interface IProps extends Omit<InputProps, "onChange"> {
main?: boolean;
/** number of seconds to debounce the deferred event */
delay?: number;
/** if changing the value in the caller - change this prop to reset */
resetValue?: string;
onChangeDeferred?: (newValue: string) => void;
onChange?: (newValue: string) => void;
}
/** value is set on first load. to change the value after it was first set - change the compoenet's key. */
export declare const Search: React.FunctionComponent<React.PropsWithChildren<IProps>>;
export {};