UNPKG

@clayui/drop-down

Version:
22 lines (21 loc) 665 B
/** * SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com> * SPDX-License-Identifier: BSD-3-Clause */ /// <reference types="react" /> import type { ICollectionProps } from '@clayui/core'; interface IProps<T> extends Omit<ICollectionProps<T, unknown>, 'virtualize'> { /** * Value provided is a display component that is a header for the items in the group. */ header?: string; /** * ARIA to define semantic meaning to content. */ role?: string; } declare function Group<T>({ children, header, items, role }: IProps<T>): JSX.Element; declare namespace Group { var displayName: string; } export default Group;