input/types.ts

dotUI · www/src/registry/ui/input/types.ts · typescript · MIT
ui

types.ts from mehdibha/dotUI

// Source: https://github.com/mehdibha/dotUI | License: MIT | Copyright 2024 dotLabs
// Provided via justclaw.it.com; keep this notice with the code.
import type * as DateFieldPrimitives from "react-aria-components/DateField"
import type * as GroupPrimitives from "react-aria-components/Group"
import type * as InputPrimitives from "react-aria-components/Input"
import type * as TextAreaPrimitives from "react-aria-components/TextArea"

/**
 * An input group combines an input with addons like buttons, icons, or labels.
 */
export interface InputGroupProps extends React.ComponentProps<
  typeof GroupPrimitives.Group
> {
  /**
   * The size of the input group.
   * @default "md"
   */
  size?: "sm" | "md" | "lg"
}

/**
 * An input allows a user to input text.
 */
export interface InputProps exte

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key