Skip to content

Commit 9d8e461

Browse files
authored
Merge pull request #80 from dkniffin/patch-1
Fix table formatting
2 parents cf19f63 + da4c289 commit 9d8e461

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,28 @@ Also please refer to this sample project that uses react-trello for usage: https
7070

7171
This is the container component that encapsulates the lanes and cards
7272

73-
| Name | Type | Description |
74-
| --------------------- | -------- | ---------------------------------------- |
75-
| draggable | boolean | Makes all cards in the lanes draggable. Default: false |
76-
| editable | boolean | Makes the entire board editable. Allow cards to be added or deleted Default: false |
77-
| handleDragStart | function | Callback function triggered when card drag is started: `handleDragStart(cardId, laneId)` |
78-
| handleDragEnd | function | Callback function triggered when card drag ends: `handleDragEnd(cardId, sourceLaneId, targetLaneId, position)` |
79-
| onLaneScroll | function | Called when a lane is scrolled to the end: `onLaneScroll(requestedPage, laneId)` |
80-
| onCardClick | function | Called when a card is clicked: `onCardClick(cardId, metadata, laneId) ` |
81-
| onCardAdd | function | Called when a new card is added: `onCardAdd(card, laneId) ` |
82-
| addCardLink | node | Pass custom element to replace the `Add Card` link at the end of the lane (when board is editable) |
83-
| newCardTemplate | node | Pass a custom new card template to add new cards to a lane (when board is editable) |
84-
| hideCardDeleteIcon | boolean | Disable showing the delete icon to the top right corner of the card (when board is editable) |
85-
| onCardDelete | function | Called when a card is deleted: `onCardDelete(cardId, laneId) ` |
86-
| onLaneClick | function | Called when a lane is clicked: `onLaneClick(laneId) `. Card clicks are not propagated to lane click event |
87-
| laneSortFunction | function | Used to specify the logic to sort cards on a lane: `laneSortFunction(card1, card2)` |
88-
| eventBusHandle | function | This is a special function that providers a publishHook to pass new events to the board. See details in Publish Events section |
89-
| onDataChange | function | Called everytime the data changes due to user interaction or event bus: `onDataChange(newData)` |
90-
| style | object | Pass css style props to board container |
91-
| customCardLayout | function | Boolean to indicate a custom card template will be specified. Add the card component as child to Board |
92-
| customLaneHeader | element | Pass custom lane header as react component to modify appearance |
93-
| data | object | Actual board data in the form of json |
94-
| tagStyle | object | If cards have tags, use this prop to modify their style |
73+
| Name | Type | Description |
74+
| --------------------- | -------- | ---------------------------------------- |
75+
| draggable | boolean | Makes all cards in the lanes draggable. Default: false |
76+
| editable | boolean | Makes the entire board editable. Allow cards to be added or deleted Default: false |
77+
| handleDragStart | function | Callback function triggered when card drag is started: `handleDragStart(cardId, laneId)` |
78+
| handleDragEnd | function | Callback function triggered when card drag ends: `handleDragEnd(cardId, sourceLaneId, targetLaneId, position)` |
79+
| onLaneScroll | function | Called when a lane is scrolled to the end: `onLaneScroll(requestedPage, laneId)` |
80+
| onCardClick | function | Called when a card is clicked: `onCardClick(cardId, metadata, laneId) ` |
81+
| onCardAdd | function | Called when a new card is added: `onCardAdd(card, laneId) ` |
82+
| addCardLink | node | Pass custom element to replace the `Add Card` link at the end of the lane (when board is editable) |
83+
| newCardTemplate | node | Pass a custom new card template to add new cards to a lane (when board is editable) |
84+
| hideCardDeleteIcon | boolean | Disable showing the delete icon to the top right corner of the card (when board is editable) |
85+
| onCardDelete | function | Called when a card is deleted: `onCardDelete(cardId, laneId) ` |
86+
| onLaneClick | function | Called when a lane is clicked: `onLaneClick(laneId) `. Card clicks are not propagated to lane click event |
87+
| laneSortFunction | function | Used to specify the logic to sort cards on a lane: `laneSortFunction(card1, card2)` |
88+
| eventBusHandle | function | This is a special function that providers a publishHook to pass new events to the board. See details in Publish Events section |
89+
| onDataChange | function | Called everytime the data changes due to user interaction or event bus: `onDataChange(newData)` |
90+
| style | object | Pass css style props to board container |
91+
| customCardLayout | function | Boolean to indicate a custom card template will be specified. Add the card component as child to Board |
92+
| customLaneHeader | element | Pass custom lane header as react component to modify appearance |
93+
| data | object | Actual board data in the form of json |
94+
| tagStyle | object | If cards have tags, use this prop to modify their style |
9595

9696
Refer to `stories` folder for examples on many more options for customization.
9797

0 commit comments

Comments
 (0)