-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React from 'react' | ||
import bitcoin_icon from './icon_bitcoin.png'; | ||
import ethereum_icon from './icon_ethereum.png'; | ||
import icon_icon from './icon_logo.png'; | ||
import ripple_icon from './icon_ripple.png'; | ||
import other_icon from './icon_other.png'; | ||
import default_icon from './icon_default.jpg' | ||
|
||
|
||
export default function Icon (props) { | ||
const image =this.props.image | ||
if (image==="bitcoin"){ | ||
return( | ||
{bitcoin_icon} | ||
) | ||
} | ||
if (image==="ethereum"){ | ||
return( | ||
<img src={ethereum_icon}/> | ||
) | ||
} | ||
if (image==="icon"){ | ||
return( | ||
<img src={icon_icon}/> | ||
) | ||
} | ||
if (image==="ripple"){ | ||
return( | ||
<img src={ripple_icon}/> | ||
) | ||
} | ||
if (image==="other"){ | ||
return( | ||
<img src={other_icon}/> | ||
) | ||
} | ||
|
||
return( | ||
<img src={default_icon}/> | ||
) | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from "react"; | ||
import "../Sidebar.css"; | ||
|
||
|
||
export default function NoteShow(props) { | ||
const notes = | ||
props.notes === null ? [] : JSON.parse(props.notes); | ||
console.log(notes) | ||
return ( | ||
<div classname="container" style={{width:"410px", height:"610px",borderRadius:"0px"}}> | ||
<div className="row"> | ||
<div className="col-10"> | ||
Row 1 Col1 | ||
</div> | ||
<div className="col-2"> | ||
Row 1 Col2 | ||
</div> | ||
</div> | ||
<div className="row"> | ||
Row 2 | ||
</div> | ||
|
||
</div> | ||
); | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from 'react'; | ||
|
||
export default function cryptoDetailView(props){ | ||
return( | ||
<div> | ||
Detail View | ||
</div> | ||
) | ||
} |