Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using Country type for nationalities #29

Merged
merged 5 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "5.11.16",
"@mui/lab": "5.0.0-alpha.119",
"@mui/material": "5.11",
"@mui/material": "5.16.5",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-image": "^3.0.3",
"@rollup/plugin-node-resolve": "^15.0.2",
Expand Down Expand Up @@ -82,9 +82,9 @@
"peerDependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "5.11.16",
"@mui/icons-material": "5.16.5",
"@mui/lab": "5.0.0-alpha.119",
"@mui/material": "5.11",
"@mui/material": "5.16.5",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand All @@ -96,7 +96,7 @@
"@fontsource/roboto": "^5.0.13",
"@mui/icons-material": "5.11.16",
"@mui/lab": "5.0.0-alpha.119",
"@mui/material": "5.11",
"@mui/material": "5.16.5",
"@storybook/addon-a11y": "^8.1.10",
"@storybook/icons": "^1.2.9",
"@svgr/webpack": "^8.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ type Story = StoryObj<typeof FlightFlaggerFiltersComponent>;

export const FlightFlaggerFilters: Story = {
args: {
nationalities: ["FRA", "GBR", "USA", "CHL"],
nationalities: [
{name: 'Great Britain', code: 'GBR'},
{name: 'France', code: 'FRA'},
{name: 'Spain', code: 'SPA'}
],
ageGroups: ["0-9", "10-24", "25-39", "40-55", "55-69", "70+"],
submitCallback: (searchFilters: SearchFilterPayload) => console.log(searchFilters),
showAllCallback: (event: React.ChangeEvent<HTMLInputElement>) => console.log(event),
Expand Down
Loading
Loading