Skip to content

Commit

Permalink
ADCIO-3975) feat: fix element tag (#89)
Browse files Browse the repository at this point in the history
* feat: fix element tag

* chore: update version

* fix: fix to use button
  • Loading branch information
dohui-son authored Jun 19, 2024
1 parent 9792049 commit ca15e19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Corca <[email protected]>",
"description": "Design System for Corca, Inc.",
"private": false,
"version": "0.0.22",
"version": "0.0.23",
"type": "module",
"packageManager": "[email protected]",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Select/MultiSelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function MultiSelectInputChildContents<T extends string | number>({
);
}

const CancelButtonWrapper = styled.button`
const CancelButtonWrapper = styled.div`
height: 100%;
cursor: pointer;
Expand Down Expand Up @@ -294,7 +294,7 @@ const SelectInputChildrenWrapper = styled.div`
width: 100%;
`;

const IconSectionWrapper = styled.button<{
const IconSectionWrapper = styled.div<{
cursor?: string;
rotate: string;
}>`
Expand Down
2 changes: 1 addition & 1 deletion src/components/Select/OptionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const ItemList = styled.li`
width: 100%;
`;

const ItemButton = styled.button<{
const ItemButton = styled.div<{
selected?: boolean;
disabled?: boolean;
focused: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Select/SelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const SelectInputChildrenWrapper = styled.div`
position: relative;
`;

const RightSectionWrapper = styled.button<{ cursor?: string; rotate: string }>`
const RightSectionWrapper = styled.div<{ cursor?: string; rotate: string }>`
position: absolute;
top: 0%;
padding: 6px 8px;
Expand Down

0 comments on commit ca15e19

Please sign in to comment.