Skip to content

Commit

Permalink
🎨 UserContentBlock props와 type 정렬
Browse files Browse the repository at this point in the history
  • Loading branch information
loevray committed Jan 2, 2024
1 parent 6dafc0c commit dde1bfc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/common/UserContentBlock/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ import {
import { useNavigate } from 'react-router-dom';

interface UserContentBlockProps extends FlexProps {
href?: string;
userImage?: string;
userImageSize?: string | number;
isOnline?: boolean;
username: string;
usernameFontSize?: string | number;
isOnline?: boolean;
content: string;
subContent?: string;
usernameFontSize?: string | number;
contentFontSize?: string | number;
href?: string;
onSubContentClick?: () => void;
}

const UserContentBlock = ({
href,
userImage = '',
userImageSize = '50px',
href,
content,
isOnline,
subContent,
onSubContentClick,
username = '테스트용',
usernameFontSize = '1.4rem',
isOnline,
content,
subContent,
contentFontSize = '1.2rem',
onSubContentClick,
...props
}: UserContentBlockProps) => {
const navigate = useNavigate();
Expand Down

0 comments on commit dde1bfc

Please sign in to comment.