-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,11 @@ import { isBlobURL } from '@wordpress/blob'; | |
import { ImagePrimitive, ImagePrimitiveValue } from '../shared/types.js'; | ||
import { useBlockPrimitiveProps } from './block.js'; | ||
|
||
/** | ||
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
Check warning on line 8 in packages/primitives/src/block-editor/image.tsx GitHub Actions / eslint (20.x)
|
||
* The Image Block Editor Primitive | ||
* | ||
* Expects an attribute of type {@link ImagePrimitiveValue} | ||
*/ | ||
const Image = ({ | ||
name, | ||
onPrimitiveSelect, | ||
|