feat(BlockEditor): add minHeight prop to control minimum container height
- accept `minHeight` as number (converted to px) or css string value - apply inline style on container when prop is defined - document new prop in README
This commit is contained in:
@@ -93,6 +93,7 @@ Tous les helpers sont **purs** : ils retournent un nouveau tableau normalisé
|
||||
onChange={setBlocks} // (Block[]) => void
|
||||
label, error, placeholder, disabled, className
|
||||
enabledBlocks={[...]} // optionnel : restreindre les types disponibles
|
||||
minHeight={240} // optionnel : hauteur minimum du conteneur (number = px, ou string CSS ex. '12rem')
|
||||
/>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user