packages/petiole/src/actionCreatorBuilders.js
function buildFromString({ declaration, name, mapActionType }) {
  if (typeof declaration === 'string') {
    return arg => ({
      type: mapActionType(name),
      [declaration]: arg,
    });
  }
  return null;
}
function buildFromString({ declaration, name, mapActionType }) {
  if (typeof declaration === 'string') {
    return arg => ({
      type: mapActionType(name),
      [declaration]: arg,
    });
  }
  return null;
}
function buildFromString ( { declaration , name , mapActionType } ) { if ( typeof declaration === 'string' ) { return arg => ( { type : mapActionType ( name ) , [ declaration ] : arg , } ) ; } return null ; }
Strings -> simple action creatos with one argument
Strings - > simple action creatos with one argument