rsuite
Version:
A suite of react components
15 lines (14 loc) • 526 B
TypeScript
import React from 'react';
import type { WithAsProps, RsRefForwardingComponent } from '../internals/types';
export interface SafeAnchorProps extends WithAsProps, React.HTMLAttributes<HTMLElement> {
/** Link specified url */
href?: string;
/** A link can show it is currently unable to be interacted with */
disabled?: boolean;
}
/**
* A SafeAnchor is a wrapper around the `<a>` HTML element.
* @private
*/
declare const SafeAnchor: RsRefForwardingComponent<'a', SafeAnchorProps>;
export default SafeAnchor;