Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99465689
Anchor.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 19:41
Size
552 B
Mime Type
text/x-java
Expires
Sun, Jan 26, 19:41 (2 d)
Engine
blob
Format
Raw Data
Handle
23798983
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Anchor.d.ts
View Options
import * as React from 'react';
export declare function isTrivialHref(href?: string): boolean;
export interface AnchorProps extends React.HTMLAttributes<HTMLElement> {
href?: string;
disabled?: boolean;
role?: string;
tabIndex?: number;
}
/**
* An generic `<a>` component that covers a few A11y cases, ensuring that
* cases where the `href` is missing or trivial like "#" are treated like buttons.
*/
declare const Anchor: React.ForwardRefExoticComponent<AnchorProps & React.RefAttributes<HTMLAnchorElement>>;
export default Anchor;
Event Timeline
Log In to Comment