UNPKG

text-editor-drcsystems

Version:
20 lines (19 loc) 575 B
/** * 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. * */ /// <reference types="react" /> import './Input.css'; declare type Props = Readonly<{ 'data-test-id'?: string; label: string; onChange: (val: string) => void; placeholder?: string; value: string; type?: string; }>; export default function TextInput({ label, value, onChange, type, placeholder, 'data-test-id': dataTestId, }: Props): JSX.Element; export {};