rsuite
Version:
A suite of react components
22 lines (14 loc) • 510 B
TypeScript
import * as React from 'react';
export interface SafeAnchorProps {
/** Link specified url */
href?: string;
/** A link can show it is currently unable to be interacted with */
disabled?: boolean;
/** A link can receive focus */
tabIndex?: number | string;
/** You can use a custom element for this component */
componentClass?: React.ElementType;
onClick?: (event: React.MouseEvent) => void;
}
declare const SafeAnchor: React.ComponentType<SafeAnchorProps>;
export default SafeAnchor;