// Type definitions for moonstone/GridListImageItem import { MarqueeControllerProps as moonstone_Marquee_MarqueeControllerProps } from "@enact/moonstone/Marquee"; import { SpottableProps as spotlight_Spottable_SpottableProps } from "@enact/spotlight/Spottable"; import { SkinnableProps as moonstone_Skinnable_SkinnableProps } from "@enact/moonstone/Skinnable"; import { GridListImageItemProps as moonstone_UiGridListImageItem_GridListImageItemProps } from "@enact/moonstone/UiGridListImageItem"; import * as React from "react"; type Omit = Pick>; type Merge = Omit> & N; export interface GridListImageItemBaseProps extends moonstone_UiGridListImageItem_GridListImageItemProps { /** * Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component. * * The following classes are supported: * * `icon` - The icon component class for default selection overlay * * `image` - The image component class * * `selected` - Applied when `selected` prop is `true` * * `caption` - The caption component class * * `subCaption` - The subCaption component class */ css?: object; /** * The voice control intent. */ "data-webos-voice-intent"?: string; /** * Placeholder image used while is loaded. */ placeholder?: string; /** * Applies a selected visual effect to the image, but only if `selectionOverlayShowing` is also `true` . */ selected?: boolean; /** * The custom selection overlay component to render. A component can be a stateless functional component, `kind()` or React component. The following is an example with custom selection overlay kind. * * Usage: * ``` const SelectionOverlay = kind({ render: () =>
custom overlay
}); ``` */ selectionOverlay?: Function; } /** * A Moonstone styled base component for . */ export class GridListImageItemBase extends React.Component< Merge, GridListImageItemBaseProps> > {} export interface GridListImageItemDecoratorProps extends Merge< Merge< moonstone_Marquee_MarqueeControllerProps, spotlight_Spottable_SpottableProps >, moonstone_Skinnable_SkinnableProps > {} export function GridListImageItemDecorator

( Component: React.ComponentType

| string, ): React.ComponentType

; export interface GridListImageItemProps extends Merge {} /** * A moonstone-styled grid list image item, Marquee and Spottable applied. * * Usage: * ``` ``` */ export class GridListImageItem extends React.Component< Merge, GridListImageItemProps> > {} export default GridListImageItem;