@oaknational/oak-components 0.0.36 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +0 -5
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -417,11 +417,6 @@ type OakImageProps<C extends ElementType = typeof Image__default> = Omit<ImagePr
|
|
|
417
417
|
declare const OakImage: <C extends React__default.ElementType = React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "width" | "height" | "alt" | "src" | "loading" | "srcSet"> & {
|
|
418
418
|
src: string | next_dist_shared_lib_get_img_props.StaticImport;
|
|
419
419
|
alt: string;
|
|
420
|
-
/**
|
|
421
|
-
* The placeholder to use while the image is loading
|
|
422
|
-
*
|
|
423
|
-
* Defaults to `oak` which is a placeholder containing the Oak logo
|
|
424
|
-
* also accepts the same options as next/image */
|
|
425
420
|
width?: number | `${number}` | undefined;
|
|
426
421
|
height?: number | `${number}` | undefined;
|
|
427
422
|
fill?: boolean | undefined;
|