Add edited marker

This commit is contained in:
Chi Vinh Le
2018-09-12 17:05:31 +02:00
parent cf070ddb0f
commit b1e7c6d2d4
36 changed files with 640 additions and 368 deletions
@@ -18,7 +18,7 @@ exports[`works with multiple form components 1`] = `
Username
</label>
<p
className="Typography-root Typography-inputDescription Typography-colorTextSecondary"
className="Typography-root Typography-detail Typography-colorTextSecondary"
>
A unique identifier displayed on your comments. You may use “_” and “.”
</p>
@@ -11,7 +11,7 @@ const InputDescription: StatelessComponent<InputDescriptionProps> = props => {
const { className, children, ...rest } = props;
return (
<Typography
variant="inputDescription"
variant="detail"
color="textSecondary"
className={className}
{...rest}
@@ -2,7 +2,7 @@
exports[`renders correctly 1`] = `
<p
className="Typography-root Typography-inputDescription Typography-colorTextSecondary"
className="Typography-root Typography-detail Typography-colorTextSecondary"
>
Form Components should go here
</p>
@@ -40,8 +40,8 @@
composes: inputLabel from "talk-ui/shared/typography.css";
}
.inputDescription {
composes: inputDescription from "talk-ui/shared/typography.css";
.detail {
composes: detail from "talk-ui/shared/typography.css";
}
.timestamp {
@@ -15,7 +15,7 @@ type Variant =
| "bodyCopy"
| "bodyCopyBold"
| "inputLabel"
| "inputDescription"
| "detail"
| "timestamp";
// Based on Typography Component of Material UI.
@@ -146,7 +146,7 @@ Typography.defaultProps = {
bodyCopyBold: "p",
timestamp: "span",
inputLabel: "label",
inputDescription: "p",
detail: "p",
},
noWrap: false,
paragraph: false,