@challenge.day/uikit
Version:
The UI Kit is as suite of UI elements/components implemented according to this [spec](https://www.figma.com/design/BCswG7SnW2HQ4XlQN9liDO/Challenge.day?node-id=3734-4804&m=dev).
15 lines (14 loc) • 388 B
TypeScript
import React, { InputHTMLAttributes } from "react";
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
children?: React.ReactNode;
/**
* Whether this input has errors.
*/
hasErrors?: boolean;
/**
* Whether this input should be treated as containing links
*/
isLinkField?: boolean;
}
declare const Input: React.FC<InputProps>;
export default Input;