This repository was archived by the owner on May 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ import * as React from 'react' ;
2
+ import styled from 'styled-components' ;
3
+
4
+ import CardProps from '../utils/CardProps' ;
5
+
6
+ export default ( { children } : CardProps ) => {
7
+ const CardSplashSubText = styled . div `
8
+ font-size: 16px;
9
+ padding-top: 10px;
10
+ ` ;
11
+ return (
12
+ < CardSplashSubText >
13
+ { children }
14
+ </ CardSplashSubText >
15
+ ) ;
16
+ } ;
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import CardBody from '../cards/CardBody';
7
7
import CardFooter from '../cards/CardFooter' ;
8
8
import CardHeader from '../cards/CardHeader' ;
9
9
import CardSplashHeader from '../cards/CardSplashHeader' ;
10
+ import CardSplashSubText from '../cards/CardSplashSubText' ;
10
11
import CardSplashText from '../cards/CardSplashText' ;
11
12
import CardTitle from '../cards/CardTitle' ;
12
13
import IconEllipsisV from '../icons/IconEllipsisV' ;
@@ -87,10 +88,12 @@ export default () => {
87
88
</ Card >
88
89
< Card type = { CardType . Highlighted } >
89
90
< CardSplashHeader >
91
+ < CardHeader />
90
92
< IconEllipsisV color = { '#fff' } />
91
93
</ CardSplashHeader >
92
94
< CardSplashText >
93
95
< strong > Shared components</ strong >
96
+ < CardSplashSubText > (0/3) things are cool</ CardSplashSubText >
94
97
</ CardSplashText >
95
98
</ Card >
96
99
< Card type = { CardType . Placeholder } >
You can’t perform that action at this time.
0 commit comments