āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā š shadcn/directory/imskyleen/animate-ui/primitives/effects/image-zoom ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
<ImageZoom>
<Image src="..." />
</ImageZoom>
<TypeTable type={{ zoomScale: { description: 'The scale of the image zoom effect.', type: 'number', required: false, default: '3', }, transition: { description: 'The transition of the image zoom effect.', type: 'Transition', required: false, default: "{ type: 'spring', stiffness: 200, damping: 28 }", }, style: { description: 'The style of the image zoom effect.', type: 'React.CSSProperties', required: false, }, zoomOnClick: { description: 'Whether the image zoom effect is triggered on click.', type: 'boolean', required: false, default: 'true', }, zoomOnHover: { description: 'Whether the image zoom effect is triggered on hover.', type: 'boolean', required: false, default: 'true', }, disabled: { description: 'Whether the image zoom effect is disabled.', type: 'boolean', required: false, default: 'false', }, width: { description: 'The width of the image zoom effect.', type: "React.CSSProperties['width']", required: false, default: '100%', }, height: { description: 'The height of the image zoom effect.', type: "React.CSSProperties['height']", required: false, default: '100%', }, children: { description: 'The children of the image zoom effect.', type: 'React.ReactElement', required: false, }, '...props': { description: 'The props of the image zoom container.', type: 'React.ComponentProps<"div">', required: false, }, }} />
<TypeTable type={{ objectFit: { description: 'The object fit of the image.', type: "React.CSSProperties['objectFit']", required: false, default: 'cover', }, as: { description: 'The component to render the image as.', type: 'React.ElementType', required: false, default: 'img', }, }} />
ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā