8 lines
344 B
TypeScript
8 lines
344 B
TypeScript
import type { ClientDirective } from '../../@types/astro';
|
|
/**
|
|
* Hydrate this component when one of it's children becomes visible
|
|
* We target the children because `astro-island` is set to `display: contents`
|
|
* which doesn't work with IntersectionObserver
|
|
*/
|
|
declare const visibleDirective: ClientDirective;
|
|
export default visibleDirective;
|