@razorpay/blade
Version:
The Design System that powers Razorpay
32 lines (29 loc) • 697 B
JavaScript
import styled from 'styled-components';
// https://www.sarasoueidan.com/blog/nested-links/
var LinkOverlay = /*#__PURE__*/styled.a.withConfig({
displayName: "LinkOverlayweb__LinkOverlay",
componentId: "ugib1o-0"
})(function () {
return {
// Need this to reset the button styles
all: 'unset',
cursor: 'pointer',
appearance: 'none',
border: 0,
padding: 0,
position: 'static',
'&:before': {
content: "''",
cursor: 'inherit',
display: 'block',
position: 'absolute',
top: 0,
left: 0,
zIndex: 1,
width: '100%',
height: '100%'
}
};
});
export { LinkOverlay };
//# sourceMappingURL=LinkOverlay.web.js.map