mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 09:21:25 +08:00
23 lines
509 B
Vue
23 lines
509 B
Vue
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>
|
|
);
|
|
},
|
|
};
|