Components

CurrencyInput

<CurrencyInput />

Wrapped currencyinput html element.

Usage

import { CurrencyInput, CurrencyInputProps } from '@adminjs/design-system'
See:

View Source adminjs-design-system/src/atoms/currency-input.tsx, line 34

Example

Type Definitions

object

# CurrencyInputProps

Prop Types of a CurrencyInput component.

CurrencyInput is based on react-currency-input-field @see React Currency Input Field Component It extends all SpaceProps, TypographyProps and LayoutProps and React Currency Input Field Component Props

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

All props default to currencyinput html component like onChange, value etc.

... string <optional>

Props from SpaceProps, TypographyProps and LayoutProps + they extend InputProps

View Source adminjs-design-system/src/atoms/currency-input.tsx, line 55