@ltht-react/condition-summary
v1.1.2
Published
ltht-react clinical ConditionSummary component.
Downloads
49
Maintainers
Keywords
Readme
ConditionSummary
Import
import ConditionSummary from '@ltht-react/condition-summary'
Usage
<ConditionSummary title="Conditions" conditions={conditions} clickHandler={handleCLick} />
Properties
| Prop | Required | Default | Type | Description |
| :------------- | :------- | :-------- | :---------- | :------------------------------------------------------------ |
| conditions
| Yes | | Condition[] | Array of conditions to display |
| clickHandler
| No | undefined | Function | Callback click handler containing the selected condition item |