Skip to content

Commit 6b52ec4

Browse files
committed
docs(mosaic): list ImageCropper in reuse before you write
1 parent dcd2fc0 commit 6b52ec4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/mosaic/AGENTS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Most problems a feature hits already have a shared answer. Find the line for you
8787
- The seconds left on a resend cooldown, for display → `useResendSeconds` (`src/hooks/`), from a `resendAvailableAt` time kept in the machine
8888
- An avatar or logo row: picker, drop target, Upload button or manage menu → `AvatarUpload` (`src/blocks/avatar-upload/`), laid out by the caller
8989
- Any other file picker or drop zone, such as a metadata or key file → `FileUpload` (`src/primitives/file-upload/`), see its `README.md`
90+
- Cropping an image to a square: pan, zoom, rotate, then draw the result → `ImageCropper` and `cropImage` (`src/primitives/image-cropper/`), see its `README.md`
9091
- An inline notice inside content: info, warning, error or success → `Banner` (`src/components/banner/`); a form-level error on a card uses `Card.Banner`
9192
- Siblings that slide when an item is added or removed → `useLayoutAnimation` (`src/primitives/hooks/`)
9293
- An input that reformats as the user types without moving the caret → `useFormattedInput` (`src/primitives/hooks/`)

0 commit comments

Comments
 (0)