Skip to content

Commit

Permalink
feat: add logo icon as svg
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <adam.setch@outlook.com>
  • Loading branch information
setchy committed Oct 23, 2024
1 parent 0eef69a commit fec8bea
Show file tree
Hide file tree
Showing 3 changed files with 980 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export const Sidebar: FC = () => {
status === 'loading' ? (
<Spinner
label="Refresh notifications"
size={'medium'}
size="medium"
appearance="invert"
/>
) : (
Expand Down
16 changes: 16 additions & 0 deletions src/renderer/components/icons/LogoIcon.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { render } from '@testing-library/react';
import { LogoIcon } from './LogoIcon';

describe('renderer/components/icons/LogoIcon.tsx', () => {
it('renders correctly - default size', () => {
const tree = render(<LogoIcon />);

expect(tree).toMatchSnapshot();
});

it('renders correctly - custom size', () => {
const tree = render(<LogoIcon width={32} height={32} />);

expect(tree).toMatchSnapshot();
});
});
Loading

0 comments on commit fec8bea

Please sign in to comment.