@breakaway/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
49 lines (31 loc) • 680 B
Markdown
---
id: Number input
section: components
cssPrefix: pf-c-number-input
propComponents: ['NumberInput']
---
## Examples
### Default
```ts file="./NumberInputDefault.tsx"
```
### With unit
```ts file="./NumberInputUnit.tsx"
```
### With unit and thresholds
```ts file="./NumberInputUnitThreshold.tsx"
```
### Disabled
```ts file="./NumberInputDisabled.tsx"
```
### With status
```ts file="./NumberInputWithStatus.tsx"
```
### Varying sizes
```ts file="./NumberInputVaryingSizes.tsx"
```
### Custom increment/decrement
```ts file="./NumberInputCustomStep.tsx"
```
### Custom increment/decrement and thresholds
```ts file="./NumberInputCustomStepAndThreshold.tsx"
```