Skip to content

Commit

Permalink
fix: make size prop required in logo component (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba authored Nov 23, 2024
1 parent d11beff commit f9105cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@koupr/ui",
"version": "1.12.0",
"version": "1.12.1",
"license": "MIT",
"type": "module",
"source": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/components/logo/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type LogoProps = CenterProps & {
size?: 'sm' | 'md'
}

export const Logo = ({ type, size, isGlossy = false }: LogoProps) => {
export const Logo = ({ type, size = 'sm', isGlossy = false }: LogoProps) => {
const { colorMode } = useColorMode()
const getSvg = useCallback(() => {
if (type == 'voltaserve') {
Expand Down

0 comments on commit f9105cc

Please sign in to comment.