File tree Expand file tree Collapse file tree 3 files changed +6
-47
lines changed
containers/Tutorial/components Expand file tree Collapse file tree 3 files changed +6
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import * as React from 'react'
22import * as T from 'typings'
33import { css , jsx } from '@emotion/core'
4- import Checkbox from '../../../components/Checkbox '
4+ import Icon from '../../../components/Icon '
55import Markdown from '../../../components/Markdown'
66
77interface Props {
@@ -20,8 +20,8 @@ const styles = {
2020 content : {
2121 margin : 0 ,
2222 } ,
23- checkboxContainer : {
24- paddingTop : 2 ,
23+ statusContainer : {
24+ paddingTop : 0 ,
2525 width : '1rem' ,
2626 } ,
2727 options : {
@@ -41,8 +41,9 @@ const Step = (props: Props) => {
4141 return (
4242 < div >
4343 < div css = { styles . card } >
44- < div css = { styles . checkboxContainer } >
45- < Checkbox status = { props . status } />
44+ < div css = { styles . statusContainer } >
45+ { props . status === 'ACTIVE' && < Icon type = "success-filling" size = "small" style = { { color : 'lightgrey' } } /> }
46+ { props . status === 'COMPLETE' && < Icon type = "success-filling" size = "small" style = { { color : '#37B809' } } /> }
4647 </ div >
4748 < div >
4849 < Markdown > { props . content || '' } </ Markdown >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments