@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
20 lines • 720 B
TypeScript
import * as React from 'react';
import { CSProps } from '@workday/canvas-kit-styling';
export interface HyperlinkProps extends CSProps {
/**
* sets modifier styles for Hyperlink
* - `inverse`: sets the color to frenchVanilla100 and updates hover, focus, and active pseudo-classes
*/
variant?: 'inverse';
/**
* attribute for the hyperlink URL
*/
href?: string;
children?: React.ReactNode;
}
/**
* `Hyperlink`s should be used when you want to navigate away from the current page or to an anchor
* on the current page.
*/
export declare const Hyperlink: import("@workday/canvas-kit-react/common").ElementComponent<"a", HyperlinkProps>;
//# sourceMappingURL=Hyperlink.d.ts.map