Components

Input

<Input />

Constructor

# <Input />

Wrapped input html element.

Usage:

import { Input, InputProps, InputCSS } from 'admin-bro'

View Source admin-bro/src/frontend/components/design-system/atoms/input.tsx, line 58

Example

Members

# constant InputCSS

Input CSS Styles which can be reused in another input component with styled-components

Usage:

import { InputCSS } from 'admin-bro'

const MyStyledInput = styled.input`
  ${InputCSS}
`

View Source admin-bro/src/frontend/components/design-system/atoms/input.tsx, line 20

Type Definitions

object

# InputProps

Prop Types of an Input component. Apart from variant it extends all LayoutProps and SpaceProps

Properties:
Name Type Attributes Description
... string <optional>

Other props from LayoutProps, SpaceProps

View Source admin-bro/src/frontend/components/design-system/atoms/input.tsx, line 75