Skip to content

Commit 2d26aea

Browse files
committed
refactor: update ReactGrabLogo dimensions in components
- Increased default width and height of ReactGrabLogo from 24 to 44 for better visibility. - Adjusted viewBox dimensions in the SVG to maintain aspect ratio and improve rendering. - Updated usage in stream-demo component to reflect new dimensions.
1 parent a67bce0 commit 2d26aea

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/website/components/react-grab-logo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ interface ReactGrabLogoProps {
55
}
66

77
export const ReactGrabLogo = ({
8-
width = 24,
9-
height = 24,
8+
width = 44,
9+
height = 44,
1010
className,
1111
}: ReactGrabLogoProps) => (
1212
<svg
1313
width={width}
1414
height={height}
15-
viewBox="0 0 360 360"
15+
viewBox="0 0 330 330"
1616
fill="none"
1717
xmlns="http://www.w3.org/2000/svg"
1818
className={`react-grab-logo ${className ?? ""}`}

packages/website/components/stream-demo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ const getConversationBlocks = (): StreamBlock[] => [
151151
>
152152
<ReactGrabLogo
153153
key="logo"
154-
width={42}
155-
height={42}
154+
width={44}
155+
height={44}
156156
className="logo-shimmer-once"
157157
/>
158158
</div>

0 commit comments

Comments
 (0)