Skip to content

Commit 5eb1311

Browse files
authored
Merge pull request #10 from solved-ac/feature/fix-typo
fix: typo variant is optional
2 parents a4608bb + 868ca29 commit 5eb1311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Typo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const TypoContainer = styled.span<TypoContainerProps>`
133133

134134
export type TypoProps = {
135135
variant?: TypoVariant | TypoVariant[]
136-
} & OptionalVariables
136+
} & Partial<OptionalVariables>
137137

138138
const firstVariant = (variant?: TypoVariant[]): TypoVariant | undefined => {
139139
if (typeof variant === 'string') return variant

0 commit comments

Comments
 (0)