Skip to content

Commit

Permalink
chore: fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
katelynsills committed Mar 22, 2021
1 parent 4f59964 commit 3781e5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import { NatAmountInput } from '@agoric/ui-components';
<NatAmountInput
label={label} // the label
value={amount && amount.value} // The value to display. Must be a Nat
displayInfo={purse.displayInfo} // the displayInfo to use to display the value
decimalPlaces={purse.displayInfo && purse.displayInfo.decimalPlaces}
placesToShow={2}
disabled={disabled} // disable the input
error={amountError} // any error to display
onChange={onAmountChange} // a callback called on user input changing the value
Expand All @@ -26,5 +27,6 @@ import { NatAmountInput } from '@agoric/ui-components';
## Yarn Test

```sh
yarn build
yarn test
```

0 comments on commit 3781e5b

Please sign in to comment.