Updated code, and snapshots

This commit is contained in:
Belén Curcio
2018-08-09 09:45:29 -03:00
parent 8634647c9f
commit b5d626ad8c
5 changed files with 12 additions and 5 deletions
@@ -1,5 +1,5 @@
.root {
composes: validationMessage from "talk-ui/shared/typography.css";
composes: alertMessage from "talk-ui/shared/typography.css";
position: relative;
display: inline-flex;
justify-content: flex-start;
@@ -8,7 +8,6 @@ import ValidationMessage from "./ValidationMessage";
it("renders correctly", () => {
const props: PropTypesOf<typeof ValidationMessage> = {
className: "custom",
color: "error",
children: "Hello World",
};
const renderer = TestRenderer.create(<ValidationMessage {...props} />);
@@ -3,7 +3,6 @@
exports[`renders correctly 1`] = `
<div
className="ValidationMessage-root ValidationMessage-colorError custom"
color="error"
>
<span
className="Icon-root ValidationMessage-icon Icon-sm"