mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-12-17 04:33:37 +01:00
Shared lint configs
This commit is contained in:
@@ -10,10 +10,8 @@ import PropTypes from "prop-types";
|
||||
|
||||
import { Input } from "./Input";
|
||||
|
||||
|
||||
export const TextInput = ({ ...props }) => <Input type="text" {...props} />;
|
||||
|
||||
|
||||
TextInput.propTypes = {
|
||||
/** Field label. */
|
||||
label: PropTypes.string.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user