import React from 'react'; import Container from '../../shared-components/container'; import { ThemeColors } from '../../../../constants'; import type { ButtonType } from '../../types'; export interface LinkButtonProps { /** * Specifies the tag or element to be rendered, like an 'a' or 'span' */ as?: string | React.ElementType; buttonColor?: ThemeColors; /** * Determines the button's main style theme */ buttonType?: ButtonType; /** * Node to be rendered inside the button. Recommended to be the button text */ children: React.ReactNode; disabled?: boolean; onClick?: () => void; /** * Color that will override existing text, icon, and loading colors for the button (except when disabled is true) */ textColor?: ThemeColors; [key: string]: unknown; } interface LinkButton extends React.FC { Container: typeof Container; } /** * `LinkButton` will render a 'button-like' link for directing/linking to the path specified. This component can work with React Router's `Link`/`NavLink` by passing in the router component as a prop ---> ` ....`. * * `` can be used to provide spacing between multiple buttons and behavior on various screen sizes. * * We should generally try to use the default button color when possible. Only for special cases should we need to use a different button color. */ export declare const LinkButton: LinkButton; export {}; //# sourceMappingURL=index.d.ts.map