mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Work around prettier issue.
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user