export const Usage = () => {
const [value, setValue] = React.useState(0.25);
return (
<Box>
<ProgressBar value={value} />
<Box mt={'2W'} width={150}>
<Button
title={value < 1 ? 'Augmenter' : 'Réduire'}
variant="secondary"
onPress={() => {
if (value < 1) setValue(v => v + 0.25);
else setValue(v => v - 0.25);
}}
/>
</Box>
</Box>
);
};