@copart/notes-component
Advanced tools
Comparing version 0.0.15 to 0.0.16
{ | ||
"name": "@copart/notes-component", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"main": "dist/display-notes.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -29,2 +29,7 @@ # Ops Notes Component Library | ||
| translations | Object | No | | Translations for localization | | ||
| handleScrollEnd | Function | No | | Function to handle the end of scroll in notes | | ||
| onChangeNote | Function | No | | Function to handle change of note | | ||
| reverseList | boolean | No | true | Flag to determine if the list has to be reversed | | ||
| loadNextPage | boolean | No | false | Flag to determine if the next page list needs to be fetched | | ||
| disabled | boolean | No | false | Disables the note button | | ||
@@ -80,2 +85,4 @@ ## Code Example | ||
translations={exampleTranslationsMap} | ||
// twentyFourHourTime={true} | ||
// disabled={true} | ||
/> | ||
@@ -148,2 +155,3 @@ ) | ||
format: 'text', // only 'table' or 'text' format supported | ||
enableAddNote: true, // enables text input for new notes | ||
data: [ | ||
@@ -150,0 +158,0 @@ { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3470898
2544
226