-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add dalbitresb12 as contributor
- Loading branch information
Showing
1 changed file
with
11 additions
and
10 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 |
---|---|---|
|
@@ -30,21 +30,21 @@ npm install --save react-obfuscate | |
### Input | ||
|
||
```js | ||
import React from "react"; | ||
import Obfuscate from "react-obfuscate"; | ||
import React from 'react'; | ||
import Obfuscate from 'react-obfuscate'; | ||
|
||
export default () => ( | ||
<p> | ||
Phone: <Obfuscate tel="205-454-1234" /> | ||
<br /> | ||
Email:{" "} | ||
Email:{' '} | ||
<Obfuscate | ||
email="[email protected]" | ||
headers={{ | ||
cc: "[email protected]", | ||
bcc: "[email protected]", | ||
subject: "react-obfuscate", | ||
body: "Down with the machines!" | ||
cc: '[email protected]', | ||
bcc: '[email protected]', | ||
subject: 'react-obfuscate', | ||
body: 'Down with the machines!', | ||
}} | ||
/> | ||
</p> | ||
|
@@ -113,9 +113,9 @@ Example Case: | |
|
||
```js | ||
<address> | ||
<Obfuscate style={{ display: "inline-block" }} email="[email protected]" /> | ||
<Obfuscate style={{ display: 'inline-block' }} email="[email protected]" /> | ||
<br /> | ||
<Obfuscate style={{ display: "inline-block" }} tel="+69 111 222 333" /> | ||
<Obfuscate style={{ display: 'inline-block' }} tel="+69 111 222 333" /> | ||
</address> | ||
``` | ||
|
||
|
@@ -126,7 +126,7 @@ With the `element` prop, users can obfuscate any element, like paragraphs or hea | |
Example Case: | ||
|
||
```js | ||
<Obfuscate element="p" style={{ textAlign: "left" }}> | ||
<Obfuscate element="p" style={{ textAlign: 'left' }}> | ||
This paragraph is more secret than others. | ||
</Obfuscate> | ||
``` | ||
|
@@ -141,6 +141,7 @@ react-obfuscate is awesome thanks to these community members: | |
- [mic](https://github.com/mic) | ||
- [ravinggenius](https://github.com/ravinggenius) | ||
- [charlesbdudley](https://github.com/charlesbdudley) | ||
- [dalbitresb12](https://github.com/dalbitresb12) | ||
|
||
## Contributing | ||
|
||
|