mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
Add edited marker
This commit is contained in:
@@ -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}
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user