diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-21 15:08:26 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-22 09:29:02 -0400 |
commit | 8376ff623380d20b8e4e26fa6abb2dd775930a7c (patch) | |
tree | 361bfee19d5fdf46b4dc1dbb96a6c81d72214711 /webapp/components/user_list.jsx | |
parent | bb212949f9f90ea3f4f7c07c7e3ca624c2843a90 (diff) | |
download | chat-8376ff623380d20b8e4e26fa6abb2dd775930a7c.tar.gz chat-8376ff623380d20b8e4e26fa6abb2dd775930a7c.tar.bz2 chat-8376ff623380d20b8e4e26fa6abb2dd775930a7c.zip |
Adding loading indicator after clicking invite channel member button
Diffstat (limited to 'webapp/components/user_list.jsx')
-rw-r--r-- | webapp/components/user_list.jsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webapp/components/user_list.jsx b/webapp/components/user_list.jsx index 2140158e6..b5d42decc 100644 --- a/webapp/components/user_list.jsx +++ b/webapp/components/user_list.jsx @@ -18,6 +18,7 @@ export default class UserList extends React.Component { key={user.id} user={user} actions={this.props.actions} + actionProps={this.props.actionProps} /> ); }); @@ -42,10 +43,12 @@ export default class UserList extends React.Component { UserList.defaultProps = { users: [], - actions: [] + actions: [], + actionProps: {} }; UserList.propTypes = { users: React.PropTypes.arrayOf(React.PropTypes.object), - actions: React.PropTypes.arrayOf(React.PropTypes.func) + actions: React.PropTypes.arrayOf(React.PropTypes.func), + actionProps: React.PropTypes.object }; |