123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
-
- exports[`renders correctly: basic 1`] = `
- <HelpTooltip
- overlay={
- <div
- className="big-padded-top big-padded-bottom"
- >
- <div
- className="spacer-bottom"
- >
- <strong>
- title
- </strong>
- </div>
- <p>
- content
- </p>
- </div>
- }
- />
- `;
-
- exports[`renders correctly: no content 1`] = `
- <HelpTooltip
- overlay={
- <div
- className="big-padded-top big-padded-bottom"
- >
- <div
- className="spacer-bottom"
- >
- <strong>
- title
- </strong>
- </div>
- </div>
- }
- />
- `;
-
- exports[`renders correctly: no title 1`] = `
- <HelpTooltip
- overlay={
- <div
- className="big-padded-top big-padded-bottom"
- >
- <p>
- content
- </p>
- </div>
- }
- />
- `;
-
- exports[`renders correctly: with links 1`] = `
- <HelpTooltip
- overlay={
- <div
- className="big-padded-top big-padded-bottom"
- >
- <div
- className="spacer-bottom"
- >
- <strong>
- title
- </strong>
- </div>
- <p>
- content
- </p>
- <React.Fragment>
- <hr
- className="big-spacer-top big-spacer-bottom"
- />
- <div
- className="little-spacer-bottom"
- >
- <Link
- className="display-inline-flex-center link-with-icon"
- onlyActiveOnIndex={false}
- rel="noopener noreferrer"
- style={Object {}}
- target="_blank"
- to="http://link.tosome.place"
- >
- <DetachIcon
- className="spacer-right"
- size={14}
- />
- <span>
- external link
- </span>
- </Link>
- </div>
- <div
- className="little-spacer-bottom"
- >
- <Link
- className="display-inline-flex-center link-with-icon"
- onlyActiveOnIndex={false}
- rel="noopener noreferrer"
- style={Object {}}
- target="_blank"
- to="/documentation/guide"
- >
- <span>
- internal link
- </span>
- </Link>
- </div>
- <div
- className="little-spacer-bottom"
- >
- <Link
- onlyActiveOnIndex={false}
- style={Object {}}
- to="/projects"
- >
- <span>
- in place
- </span>
- </Link>
- </div>
- </React.Fragment>
- </div>
- }
- />
- `;
|