You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@os-design/core

Package Overview
Dependencies
Maintainers
1
Versions
476
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

7

lib/Link/index.d.ts

@@ -7,9 +7,14 @@ import { BaseProps } from '@os-design/styled';

* The link of the destination.
* Can be used with the Next.js Link component by passing passHref prop.
* @default undefined
*/
href?: string;
/**
* Sets the handler to handle the click event.
* @default undefined
*/
onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
}
/**
* The link component to navigate between pages.
* Can be used with the Next.js Link component.
*/

@@ -16,0 +21,0 @@ declare const Link: React.FC<LinkProps>;

3

lib/Link/index.js

@@ -46,5 +46,6 @@ "use strict";

* The link component to navigate between pages.
* Can be used with the Next.js Link component.
*/
const Link = props => (react_1.default.createElement(StyledLink, { href: props.href, sizing: props.sizing, darkMode: props.darkMode, className: props.className }, props.children));
const Link = props => (react_1.default.createElement(StyledLink, { href: props.href, onClick: props.onClick, sizing: props.sizing, darkMode: props.darkMode, className: props.className }, props.children));
exports.default = Link;
//# sourceMappingURL=index.js.map
{
"name": "@os-design/core",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -31,3 +31,3 @@ "main": "lib/index.js",

},
"gitHead": "51f5b97d4984295138fe5c5d32b0e25a1be8ca5a"
"gitHead": "ca769db8f9a08361402ad1a689ae1d7fad0b76d3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc