Work around prettier issue.

This commit is contained in:
Ovidiu Bute
2019-01-02 11:43:11 +02:00
parent 627f354d1d
commit 5a2b7b2f01
+23 -13
View File
@@ -182,28 +182,38 @@ describe("linkifyjs/react", () => {
/* Default values for all props */
{
const content =
"For help with GitHub.com, please email support@github.com";
<Linkify>
<span>Hello https://google.com</span>
</Linkify>
<span>{content}</span>
</Linkify>;
}
/* Custom class name */
{
<Linkify options= {{
className: "custom-class-name"
}}>
<span>Hello https://google.com</span>
</Linkify>
const content =
"For help with GitHub.com, please email support@github.com";
<Linkify
options={{
className: "custom-class-name"
}}
>
<span>{content}</span>
</Linkify>;
}
/* Custom tag name */
{
<Linkify options= {{
tagName: "p"
}}>
<span>Hello https://google.com</span>
</Linkify>
const content =
"For help with GitHub.com, please email support@github.com";
<Linkify
options={{
tagName: "p"
}}
>
<span>{content}</span>
</Linkify>;
}
});