Repository URL to install this package:
|
Version:
8.1.0-rc.5 ▾
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Pattern should match a snapshot 1`] = `
<div
className="Pattern Pattern--default"
style={Object {}}
>
<div>
Some children content
</div>
</div>
`;
exports[`Pattern when background image is passed should match a snapshot 1`] = `
<div
className="Pattern"
style={
Object {
"backgroundAttachment": "fixed",
"backgroundImage": "url(yabba dabba doo image)",
"backgroundSize": "cover",
}
}
>
<div>
Some children content
</div>
</div>
`;
exports[`Pattern when background image is passed when background repeat is passed should match a snapshot 1`] = `
<div
className="Pattern"
style={
Object {
"backgroundAttachment": "fixed",
"backgroundImage": "url(yabba dabba doo image)",
"backgroundRepeat": "repeat",
"backgroundSize": "300px auto",
}
}
>
<div>
Some children content
</div>
</div>
`;
exports[`Pattern when background image is passed when color is passed should match a snapshot 1`] = `
<div
className="Pattern"
style={
Object {
"backgroundAttachment": "fixed",
"backgroundColor": "red",
"backgroundImage": "url(yabba dabba doo image)",
"backgroundSize": "cover",
}
}
>
<div>
Some children content
</div>
</div>
`;
exports[`Pattern when background image is passed when default color is passed should match a snapshot 1`] = `
<div
className="Pattern"
style={
Object {
"backgroundAttachment": "fixed",
"backgroundImage": "url(yabba dabba doo image)",
"backgroundSize": "cover",
}
}
>
<div>
Some children content
</div>
</div>
`;
exports[`Pattern when className is passed should match a snapshot 1`] = `
<div
className="Pattern Pattern--default Unicorn"
style={Object {}}
>
<div>
Some children content
</div>
</div>
`;