Skip to content

Commit fcc29b9

Browse files
authored
Merge pull request #128 from gottsohn/master
Correct Typos in README.md
2 parents 0668598 + c72615e commit fcc29b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can import `node_modules/react-tooltip/standalone/react-tooltip.min.js` into
4141
Notes:
4242
* The tooltip is using `type: dark` `place: top` `effect: float` as **default** attribute, you don't have to add these options if you don't want to change default
4343
* The option you set on `<ReactTooltip />` component will be implemented on every tooltip in a same page: `<ReactTooltip effect="solid" />`
44-
* The option you set on specific elecment, for example: `<a data-type="warning"></a>` will only make effect on this specific tooltip
44+
* The option you set on specific element, for example: `<a data-type="warning"></a>` will only make effect on this specific tooltip
4545

4646
Check example: [React-tooltip Test](http://wwayne.com/react-tooltip)
4747

@@ -53,7 +53,7 @@ Global|Specific |Type |Values | Description
5353
event | data-event | String | e.g. click | custom event to trigger tooltip
5454
eventOff | data-event-off | String | e.g. click | custom event to hide tooltip (only makes effect after setting event attribute)
5555
globalEventOff | | 'string'| e.g. click| global event to hide tooltip (global only)
56-
isCapture | data-iscapture | Bool | true, false | when set to ture, custom event's propagation mode will be capture
56+
isCapture | data-iscapture | Bool | true, false | when set to true, custom event's propagation mode will be capture
5757
offset | data-offset | Object | top, right, bottom, left | `data-offset="{'top': 10, 'left': 10}"` for specific and `offset={{top: 10, left: 10}}` for global
5858
multiline | data-multiline | Bool | true, false | support `<br>`, `<br />` to make multiline
5959
class | data-class | String | | extra custom class, can use !important to overwrite react-tooltip's default class

0 commit comments

Comments
 (0)