@clayui/button
Version:
ClayButton component
22 lines (21 loc) • 743 B
TypeScript
/**
* SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: BSD-3-Clause
*/
import React from 'react';
import ClayButton from './Button';
interface ICommonProps extends Omit<React.ComponentProps<typeof ClayButton>, 'aria-label' | 'aria-labelledby'> {
'aria-label'?: string;
'aria-labelledby'?: string;
/**
* Path to the location of the spritemap resource.
*/
spritemap?: string;
/**
* The id of the icon in the spritemap.
*/
symbol: string;
}
export declare type Props = ICommonProps;
declare const ClayButtonWithIcon: React.ForwardRefExoticComponent<Omit<ICommonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
export default ClayButtonWithIcon;