File tree 2 files changed +2
-1
lines changed
packages/spectacle/src/components
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ These tags are for displaying textual content.
56
56
| Tag Name | Theme Props | Additional Props | Default Props |
57
57
| ---------------------| -------------------------------------------------------------------------------------------------------------| ----------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------------------|
58
58
| ** ` Text ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) | — | ** color** : primary<br /> ** fontFamily** : text<br />** fontSize** : text<br />** textAlign** : left<br />** margin** : textMargin |
59
- | ** ` FitText ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) | — | ** color** : primary<br /> ** fontFamily** : text<br />** fontSize** : text<br />** textAlign** : left <br />** margin** : textMargin |
59
+ | ** ` FitText ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) | — | ** color** : primary<br /> ** fontFamily** : text<br />** fontSize** : text<br />** textAlign** : center <br />** margin** : textMargin |
60
60
| ** ` Heading ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) | — | ** color** : secondary<br /> ** fontFamily** : header<br />** fontSize** : h1<br />** fontWeight** : bold<br />** textAlign** : center<br />** margin** : headerMargin |
61
61
| ** ` Link ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) <br /> | ** href** : PropTypes.string | ** color** : quaternary<br /> ** fontFamily** : text<br />** fontSize** : text<br />** textDecoration** : underline<br />** textAlign** : left<br />** margin** : textMargin |
62
62
| ** ` Quote ` ** | [ ** Space** ] ( ./props#space ) <br />[ ** Color** ] ( ./props#color ) <br /> [ ** Typography** ] ( ./props#typography ) <br /> | — | ** color** : primary<br /> ** fontFamily** : text<br />** fontSize** : text<br />** textAlign** : left<br />** borderLeft** : 1px solid secondary |
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ const ScalableText = styled(
130
130
` ;
131
131
ScalableText . defaultProps = {
132
132
...Text . defaultProps ,
133
+ textAlign : 'center' ,
133
134
scale : 1
134
135
} ;
135
136
You can’t perform that action at this time.
0 commit comments