/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { StrictReactDOMInputProps } from '../../types/StrictReactDOMInputProps'; import type { StrictReactDOMTextAreaProps } from '../../types/StrictReactDOMTextAreaProps'; import * as React from 'react'; type StrictInputProps = StrictReactDOMInputProps | StrictReactDOMTextAreaProps; export declare function createStrictDOMTextInputComponent< P extends StrictInputProps, T >( tagName: string, defaultProps?: P ): ( props: Omit
})> & { ref?: React.Ref