Skip to content

Commit

Permalink
Fixed placeholder color for Input component
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonortiz committed Feb 18, 2025
1 parent fd8bcc7 commit faa4e23
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exports[`StatusChip component render correct a valid component is passed 1`] = `
Array [
undefined,
Object {
"color": "#000000",
"fontSize": 29,
"fontWeight": "400",
"lineHeight": 18,
Expand Down Expand Up @@ -63,7 +62,6 @@ exports[`StatusChip component render correct if a background is passed 1`] = `
"textAlign": "center",
},
Object {
"color": "#000000",
"fontSize": 29,
"fontWeight": "400",
"lineHeight": 18,
Expand Down Expand Up @@ -104,7 +102,6 @@ exports[`StatusChip component render correct text is passed 1`] = `
"textAlign": "center",
},
Object {
"color": "#000000",
"fontSize": 29,
"fontWeight": "400",
"lineHeight": 18,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ exports[`Typography component render correct match snapshot with default typogra
Array [
undefined,
Object {
"color": "#000000",
"fontSize": 29,
"fontWeight": "400",
"lineHeight": 18,
Expand Down
9 changes: 1 addition & 8 deletions src/components/atoms/Typography/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@ interface TypographyProps extends TextProps {
color?: string;
}

const Typography = ({
children,
style,
type,
size,
color = '#000000',
...props
}: TypographyProps) => {
const Typography = ({children, style, type, size, color, ...props}: TypographyProps) => {
if (!children) {
return null;
}
Expand Down

0 comments on commit faa4e23

Please sign in to comment.