-
Notifications
You must be signed in to change notification settings - Fork 839
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5a1a5e
commit 2405629
Showing
9 changed files
with
396 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiStat, | ||
EuiFlexItem, | ||
EuiFlexGroup, | ||
} from '../../../../src/components'; | ||
|
||
export default () => ( | ||
<div> | ||
<EuiFlexGroup> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="$ 1,000.00" | ||
description="Left align" | ||
textAlign="left" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="99.9999" | ||
description="Center align" | ||
textAlign="center" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="1,000.00 €" | ||
description="Right align" | ||
textAlign="right" | ||
/> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiStat, | ||
EuiFlexItem, | ||
EuiFlexGroup, | ||
} from '../../../../src/components'; | ||
|
||
export default () => ( | ||
<div> | ||
<EuiFlexGroup> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="1" | ||
description="Full color" | ||
titleColor="full" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="10" | ||
description="Dark color" | ||
titleColor="dark" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="100" | ||
description="Primary color" | ||
titleColor="primary" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="1,000" | ||
description="Secondary color" | ||
titleColor="secondary" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="10,000" | ||
description="Danger color" | ||
titleColor="danger" | ||
/> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiStat | ||
title="100,000" | ||
description="Accent color" | ||
titleColor="accent" | ||
/> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiStat, | ||
EuiFlexItem, | ||
EuiFlexGroup, | ||
EuiPanel, | ||
EuiIcon, | ||
} from '../../../../src/components'; | ||
|
||
export default () => ( | ||
<div> | ||
<EuiFlexGroup> | ||
<EuiFlexItem> | ||
<EuiPanel> | ||
<EuiStat | ||
title="8,888" | ||
description="Total widgets" | ||
titleColor="full" | ||
textAlign="right" | ||
> | ||
<EuiIcon type="empty" /> | ||
</EuiStat> | ||
</EuiPanel> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiPanel> | ||
<EuiStat | ||
title="2,000" | ||
description="Pending widgets" | ||
titleColor="accent" | ||
textAlign="right" | ||
> | ||
<EuiIcon type="clock" color="accent" /> | ||
</EuiStat> | ||
</EuiPanel> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiPanel> | ||
<EuiStat | ||
title="6,800" | ||
description="Success widgets" | ||
titleColor="secondary" | ||
textAlign="right" | ||
> | ||
<EuiIcon type="check" color="secondary" /> | ||
</EuiStat> | ||
</EuiPanel> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<EuiPanel> | ||
<EuiStat | ||
title="88" | ||
description="Error widgets" | ||
titleColor="danger" | ||
textAlign="right" | ||
> | ||
<EuiIcon type="alert" color="danger" /> | ||
</EuiStat> | ||
</EuiPanel> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
</div> | ||
); |
Oops, something went wrong.