UNPKG

649 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/reducers/step.js"],"names":["step","config","s","action","state","current","slides","length"],"mappings":"AAIA,eAAe,SAASA,IAAT,CAAcC,MAAd,EAA6D;AAC1E,SAAO,CAACC,CAAD,EAAUC,MAAV,EAA0BC,KAA1B,KAAiD;AACtD,WAAO;AACLC,MAAAA,OAAO,EAAED,KAAK,CAACE,MAAN,CAAaC,MAAb,GAAsB;AAD1B,KAAP;AAGD,GAJD;AAKD","sourcesContent":["// @flow\n\nimport type {Action, Config, State, Step} from '../types';\n\nexport default function step(config: Config): (Step, Action, State) => Step {\n return (s: Step, action: Action, state: State): Step => {\n return {\n current: state.slides.length + 1\n };\n };\n}\n"],"file":"step.js"}
\No newline at end of file