Skip to content

Commit

Permalink
fix: props spell
Browse files Browse the repository at this point in the history
  • Loading branch information
googoo81 committed Jan 29, 2024
1 parent 5adbefb commit f979989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shared/src/atoms/Headline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { ReactNode } from 'react'

type HeadlineType = 'headline1' | 'headline2' | 'headline3'

interface Porps {
interface Props {
children: ReactNode
type?: HeadlineType
}

const Headline = ({ children, type = 'headline1' }: Porps) => {
const Headline = ({ children, type = 'headline1' }: Props) => {
return <Title type={type}>{children}</Title>
}

Expand Down

0 comments on commit f979989

Please sign in to comment.