diff --git a/ui-manchette/src/components/Manchette.tsx b/ui-manchette/src/components/Manchette.tsx index 34cadf757..bd02733a0 100644 --- a/ui-manchette/src/components/Manchette.tsx +++ b/ui-manchette/src/components/Manchette.tsx @@ -6,9 +6,14 @@ import { ZoomIn, ZoomOut } from '@osrd-project/ui-icons'; interface ManchetteProps { operationalPoints: OperationalPointType[]; children?: React.ReactNode; + isProportionnal?: boolean; } -const Manchette: React.FC = ({ operationalPoints, children }) => { +const Manchette: React.FC = ({ + operationalPoints, + children, + isProportionnal = false, +}) => { const [zoom, setZoom] = React.useState(1); const zoomIn = () => { @@ -22,7 +27,11 @@ const Manchette: React.FC = ({ operationalPoints, children }) => return (
- +