File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const ButtonContainer = styled.button<ButtonContainerProps>`
5656 }
5757`
5858
59- export type ButtonProps < T extends ElementType = 'li ' > = {
59+ export type ButtonProps < T extends ElementType = 'button ' > = {
6060 backgroundColor ?: string
6161 hoverColor ?: string
6262 primary ?: boolean
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const whenClickable = css`
3636`
3737
3838const CardContainer = styled . div < CardContainerProps > `
39+ display: block;
3940 background: ${ v . backgroundColor } ;
4041 color: ${ v . textColor } ;
4142 border-radius: 8px;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const ChipContainer = styled.div`
2323 line-height: 1.2;
2424`
2525
26- export type ChipProps < T extends ElementType = 'li ' > = {
26+ export type ChipProps < T extends ElementType = 'div ' > = {
2727 backgroundColor ?: string
2828} & PolymorphicElementProps < T >
2929
You can’t perform that action at this time.
0 commit comments