DRYify action prop setup