Skip to content

Commit adc04c0

Browse files
committed
refactor(logoicon): remove obsolete component
1 parent 4b5b7aa commit adc04c0

File tree

2 files changed

+6
-33
lines changed

2 files changed

+6
-33
lines changed

src/components/AppBar/AppBar.stories.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
32
import {
43
AppBar,
54
Toolbar,
@@ -9,8 +8,7 @@ import {
98
ListItem,
109
Divider
1110
} from 'react95';
12-
13-
import LogoIcon from '../Icon/LogoIcon';
11+
import logoIMG from '../assets/images/logo.png';
1412

1513
export default {
1614
title: 'AppBar',
@@ -41,7 +39,11 @@ export const Default = () => {
4139
active={open}
4240
style={{ fontWeight: 'bold' }}
4341
>
44-
<LogoIcon style={{ marginLeft: -2, marginRight: 4 }} />
42+
<img
43+
src={logoIMG}
44+
alt='react95 logo'
45+
style={{ height: '20px', marginRight: 4 }}
46+
/>
4547
Start
4648
</Button>
4749
{open && (

src/components/Icon/LogoIcon.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)