File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
components/src/components/tile
react/src/components/Tile Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 7575 text-decoration : none ;
7676 }
7777
78+ .#{$prefix } --tile--clickable :hover ,
79+ .#{$prefix } --tile--clickable :active {
80+ color : $text-01 ;
81+ text-decoration : none ;
82+ }
83+
7884 .#{$prefix } --tile--selectable {
7985 padding-right : $carbon--spacing-09 ;
8086 }
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import React, { Component } from 'react';
99import PropTypes from 'prop-types' ;
1010import classNames from 'classnames' ;
1111import { settings } from 'carbon-components' ;
12+ import Link from '../Link' ;
1213import {
1314 CheckmarkFilled16 as CheckmarkFilled ,
1415 ChevronDown16 ,
@@ -168,14 +169,14 @@ export class ClickableTile extends Component {
168169 ) ;
169170
170171 return (
171- < a
172+ < Link
172173 href = { href }
173174 className = { classes }
174175 { ...other }
175176 onClick = { this . handleClick }
176177 onKeyDown = { this . handleKeyDown } >
177178 { children }
178- </ a >
179+ </ Link >
179180 ) ;
180181 }
181182}
You can’t perform that action at this time.
0 commit comments