replace stat
This commit is contained in:
1 parent
8cd9a93781
commit
4396c08ae6
3 files changed
+5
-29
No files matched your search
Generated
+4
-3
@@ -33,6 +33,7 @@
|
|||||||
"@vitejs/plugin-react": "^5.0.4",
|
"@vitejs/plugin-react": "^5.0.4",
|
||||||
"@vitest/browser-playwright": "^4.0.8",
|
"@vitest/browser-playwright": "^4.0.8",
|
||||||
"@vitest/coverage-v8": "^4.0.8",
|
"@vitest/coverage-v8": "^4.0.8",
|
||||||
|
"baseline-browser-mapping": "^2.9.7",
|
||||||
"eslint": "^9.36.0",
|
"eslint": "^9.36.0",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^5.2.0",
|
||||||
"eslint-plugin-react-refresh": "^0.4.22",
|
"eslint-plugin-react-refresh": "^0.4.22",
|
||||||
@@ -2406,9 +2407,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/baseline-browser-mapping": {
|
"node_modules/baseline-browser-mapping": {
|
||||||
"version": "2.8.16",
|
"version": "2.9.7",
|
||||||
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.16.tgz",
|
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz",
|
||||||
"integrity": "sha512-OMu3BGQ4E7P1ErFsIPpbJh0qvDudM/UuJeHgkAvfWe+0HFJCXh+t/l8L6fVLR55RI/UbKrVLnAXZSVwd9ysWYw==",
|
"integrity": "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
"@vitejs/plugin-react": "^5.0.4",
|
"@vitejs/plugin-react": "^5.0.4",
|
||||||
"@vitest/browser-playwright": "^4.0.8",
|
"@vitest/browser-playwright": "^4.0.8",
|
||||||
"@vitest/coverage-v8": "^4.0.8",
|
"@vitest/coverage-v8": "^4.0.8",
|
||||||
|
"baseline-browser-mapping": "^2.9.7",
|
||||||
"eslint": "^9.36.0",
|
"eslint": "^9.36.0",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^5.2.0",
|
||||||
"eslint-plugin-react-refresh": "^0.4.22",
|
"eslint-plugin-react-refresh": "^0.4.22",
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
import React, { useState } from "react";
|
|
||||||
import { MenuItem, Select, FormControl, InputLabel } from "@mui/material";
|
|
||||||
|
|
||||||
function TestDropdown() {
|
|
||||||
const [selected, setSelected] = useState("3");
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div style={{ padding: "20px" }}>
|
|
||||||
<FormControl fullWidth>
|
|
||||||
<InputLabel>Mois</InputLabel>
|
|
||||||
<Select
|
|
||||||
value={selected}
|
|
||||||
label="Mois"
|
|
||||||
onChange={(e) => setSelected(e.target.value)}
|
|
||||||
>
|
|
||||||
<MenuItem value="1">1 mois</MenuItem>
|
|
||||||
<MenuItem value="3">3 mois</MenuItem>
|
|
||||||
<MenuItem value="6">6 mois</MenuItem>
|
|
||||||
<MenuItem value="12">12 mois</MenuItem>
|
|
||||||
</Select>
|
|
||||||
</FormControl>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default TestDropdown;
|
|
||||||
Reference in new issue
Block a user