-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(components): refactor components and fix bugs
- Loading branch information
Showing
34 changed files
with
305 additions
and
138 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { | ||
Select, | ||
SelectContent, | ||
SelectTrigger, | ||
SelectValue, | ||
SelectGroup, | ||
SelectItem, | ||
SelectLabel, | ||
SelectScrollDownButton, | ||
SelectScrollUpButton, | ||
SelectSeparator, | ||
} from "ruru-ui/components/select"; | ||
|
||
const SelectCountries = () => { | ||
return ( | ||
<> | ||
<Select> | ||
<SelectTrigger className="w-[180px]"> | ||
<SelectValue placeholder="Select a version." /> | ||
</SelectTrigger> | ||
<SelectContent> | ||
<SelectGroup> | ||
<SelectLabel>Fruits</SelectLabel> | ||
<SelectSeparator /> | ||
<SelectScrollUpButton /> | ||
{Array.from({ length: 50 }, (_, index) => ( | ||
<SelectItem key={index} value={String(index)}> | ||
Ruru-UI-V{index} | ||
</SelectItem> | ||
))} | ||
<SelectScrollDownButton /> | ||
</SelectGroup> | ||
</SelectContent> | ||
</Select> | ||
</> | ||
); | ||
}; | ||
|
||
export default SelectCountries; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
"installation", | ||
"cli", | ||
"dark-mode", | ||
"changelog", | ||
"---Components---", | ||
"...components", | ||
"---Others---", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.