mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-12 16:43:04 +03:00
206fead689
- useEventListener: add support to listen to events from elememts - useEscakeKey: when multiple components use this hook, and when triggered close the last one opened - useImage: check if image is loaded. Also it checks if the image overflows given a maxWidth feat(useDetectTextOverflow): detect if a text element has an overflow |
||
---|---|---|
.. | ||
components | ||
placeholders | ||
FontObjectPreview.js | ||
ImageObjectPreview.js | ||
index.js | ||
LinkObjectPreview.js | ||
ObjectPreviewPrimitive.js | ||
TextObjectPreview.js |