// useState retourne un tableau [valeur, fonction] const [count, setCount] = useState(0); // Props d'un composant const MyComponent = ({ title, onClick }) => { // title et onClick extraits des props };