-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfb9d77
commit 0da4ac1
Showing
9 changed files
with
9 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,10 @@ | ||
# Package | ||
|
||
<!-- package description --> | ||
Contains view modules that allow a user to perform data import actions | ||
|
||
## Installation | ||
|
||
```sh | ||
yarn add @opensrp/template | ||
yarn add @opensrp/fhir-import | ||
``` | ||
|
||
<!-- | ||
Include further installation instructions, for instance if the package requires for the user | ||
to manually add css. | ||
--> | ||
|
||
## Usage | ||
|
||
<!-- | ||
### Props/ Configuration | ||
#### linkerField | ||
_Optional_(`string` | `undefined` = `undefined`) | ||
When the table is rendered, you can click anywhere on a row to drill down to the next level of the hierarchy. However, you may want to display some kind of indication that it is possible to drill down on a row of data. The `linkerField` prop allows you to define which field should have this indicator. By default this is set to the `id` field. | ||
--> | ||
|
||
### Code examples | ||
|
||
<!-- | ||
A single simple, minimal, working snippet for each use-case that the package supports | ||
```tsx | ||
import { DrillDownTable, columnsFromObjects } from '@onaio/drill-down-table/'; | ||
const props = { | ||
columns: columnsFromObjects(data), | ||
data | ||
}; | ||
<DrillDownTable {...props} />; | ||
``` | ||
--> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ export function getStatusColor(statusString: JobStatus) { | |
default: | ||
return "default" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ | |
gap: 14px; | ||
background: #FFF; | ||
border-radius: 12px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.