Skip to content

Commit

Permalink
chore: add dalbitresb12 as contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
coston committed Jun 12, 2020
1 parent b57c03b commit 73a8331
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
```

Expand All @@ -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>
```
Expand All @@ -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

Expand Down

0 comments on commit 73a8331

Please sign in to comment.