Skip to content

Commit

Permalink
update Slider demo to new API
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed Apr 25, 2016
1 parent aadf2a2 commit 2e48207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kitchen-sink/pages/SliderExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
Slider,
} from 'amazeui-touch';

const onSelect = function(index, direction) {
const onAction = function(index, direction) {
console.log('激活的幻灯片编号:', index, ',滚动方向:', direction);
};

const sliderIntance = (
<Slider
onSelect={onSelect}
onAction={onAction}
>
<Slider.Item>
<img
Expand Down

0 comments on commit 2e48207

Please sign in to comment.