UNPKG

@capgeminiuk/dcx-react-library

Version:

[![CircleCI](https://circleci.com/gh/Capgemini/dcx-react-library.svg?style=svg)](https://circleci.com/gh/Capgemini/dcx-react-library)

22 lines (21 loc) 484 B
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 {};