cra-template-pi
Version:
A quick start Create React App with many auto implemented features
27 lines (26 loc) • 412 B
text/typescript
export const CounterMockData: [
string,
Record<string, string | number | undefined>
][] = [
[
'Increment',
{
payload: undefined,
type: 'CounterReducer/increment',
},
],
[
'Increment by 3',
{
payload: 3,
type: 'CounterReducer/incrementBy',
},
],
[
'Decrement',
{
payload: undefined,
type: 'CounterReducer/decrement',
},
],
]