-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prioritize new forgotten cards (#12)
* Prioritize new forgotten cards
- Loading branch information
Showing
9 changed files
with
318 additions
and
114 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -26,4 +26,3 @@ ngrok | |
.dev.vars | ||
|
||
dumper/dump.sql | ||
gitexporter.config.json |
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,23 @@ | ||
import { Select } from "../../ui/select.tsx"; | ||
import { useState } from "react"; | ||
|
||
const countries = [ | ||
{ value: "us", label: "United States" }, | ||
{ value: "fr", label: "France" }, | ||
{ value: "de", label: "Germany" }, | ||
]; | ||
|
||
type Country = (typeof countries)[number]["value"]; | ||
|
||
export const SelectStory = () => { | ||
const [value, setValue] = useState<Country>("us"); | ||
return ( | ||
<Select | ||
value={value} | ||
onChange={(newValue) => { | ||
setValue(newValue); | ||
}} | ||
options={countries} | ||
/> | ||
); | ||
}; |
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.