mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 11:27:10 +08:00
Updated code, and snapshots
This commit is contained in:
@@ -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} />);
|
||||
|
||||
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user