@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
22 lines (21 loc) • 484 B
TypeScript
import React from 'react';
type LinkProps = {
/**
* A property to define a target URL
*/
to: string;
/**
* A CSS class for styling link
*/
className?: string;
/**
* define the value of the link
*/
value: string;
/**
* Additional props/attributes
*/
props?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
};
export declare const Link: ({ className, to, props, value }: LinkProps) => React.JSX.Element;
export {};