@attio/react-native-bottom-sheet-toolbox-text-input
Version:
23 lines • 1.44 kB
TypeScript
import * as React from "react";
import { type TextInputProps } from "react-native";
import { type BottomSheetToolboxProps, type BottomSheetToolboxRef } from "@attio/react-native-bottom-sheet-toolbox";
import type { BottomSheetToolBoxTextInputBaseProps } from "./types";
export interface BottomSheetToolboxTextInputRef extends BottomSheetToolboxRef {
focus: () => void;
blur: () => void;
}
export interface BottomSheetToolboxTextInputProps extends Pick<BottomSheetToolboxProps, "insetTop" | "onSnapChange" | "onClose" | "sheetStyle" | "children" | "additionalIsReady" | "onReadyChange" | "backdropComponent">, Omit<BottomSheetToolBoxTextInputBaseProps, "style"> {
multiline?: boolean;
textInputStyle?: TextInputProps["style"];
ref?: React.ForwardedRef<BottomSheetToolboxTextInputRef> | undefined;
/**
* The fallback inset value when using the default bottomInsetSharedValue
* behavior.
*/
keyboardAwareSafeAreaBottomInsetFallback?: number;
}
export declare function BottomSheetToolboxTextInput({ insetTop, backdropComponent, onSnapChange, onClose, sheetStyle, children, additionalIsReady: outerAdditionalIsReady, multiline, ref, keyboardAwareSafeAreaBottomInsetFallback, ...textInputProps }: BottomSheetToolboxTextInputProps): React.JSX.Element;
export declare namespace BottomSheetToolboxTextInput {
var displayName: string;
}
//# sourceMappingURL=bottom-sheet-toolbox-text-input.d.ts.map