@clayui/shared
Version:
ClayShared component
26 lines (25 loc) • 759 B
TypeScript
/**
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: BSD-3-Clause
*/
import React from 'react';
interface IBufferList {
/**
* Component to be used as a Ellipsis.
*/
EllipsisComponent: React.ComponentType<any>;
/**
* Use this property for defining `otherProps` that will be passed to ellipsis dropdown trigger.
*/
ellipsisProps?: Object;
/**
* Property to define BreadcrumbEllipsis's items.
*/
items: Array<Object>;
/**
* Path to the location of the spritemap resource.
*/
spritemap?: string;
}
export declare const getEllipsisItems: (config: IBufferList, ellipsisBuffer: number, activeIndex?: number) => (number | Object)[];
export {};