Added action to props for passing events.
Added action to props for passing events.