@iminside/react-yandex-maps
Version:
Yandex.Maps API bindings for React
51 lines (50 loc) • 2.03 kB
TypeScript
import React from 'react';
import { WithYMapsProps } from '../hocs/withYMaps';
import { control } from 'yandex-maps';
import { AnyObject, WithInstanceRef } from '../util/typing';
import { ErrorBoundaryProps } from '../hocs/with-error-boundary';
interface ListBoxItemProps {
/**
* Control [data](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.data)
*/
data?: control.IListBoxItemParameters['data'];
/**
* Uncontrolled control [data](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.data)
*/
defaultData?: control.IListBoxItemParameters['data'];
/**
* Control [options](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.options)
*/
options?: control.IListBoxItemParameters['options'];
/**
* Uncontrolled control [options](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.options)
*/
defaultOptions?: control.IListBoxItemParameters['options'];
/**
* Control [state](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.state)
*/
state?: control.IListBoxItemParameters['state'];
/**
* Uncontrolled control [state](https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/control.ListBoxItem-docpage/#control.ListBoxItem__param-parameters.state)
*/
defaultState?: control.IListBoxItemParameters['state'];
}
export declare const ListBoxItem: React.FC<
React.PropsWithChildren<
ListBoxItemProps &
WithYMapsProps &
WithInstanceRef &
ErrorBoundaryProps &
AnyObject
>
>;
declare const _default: React.FC<
React.PropsWithChildren<
ListBoxItemProps &
WithYMapsProps &
WithInstanceRef &
ErrorBoundaryProps &
AnyObject
>
>;
export default _default;