You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
441 B
18 lines
441 B
import TouchFeedback from '../index'
|
|
import './simple.less'
|
|
|
|
export default {
|
|
render () {
|
|
return (
|
|
<div style={{ marginBottom: 12 }}>
|
|
<TouchFeedback activeClassName='active' activeStyle={{ color: 'red' }}>
|
|
<div class='normal' style={{
|
|
backgroundColor: 'yellow',
|
|
}}
|
|
onClick={() => console.log('click div')}>click to active</div>
|
|
</TouchFeedback>
|
|
</div>
|
|
)
|
|
},
|
|
}
|