diff options
author | Artem Vasiliev <artem.job@gmail.com> | 2016-10-20 00:00:17 +0300 |
---|---|---|
committer | Artem Vasiliev <artem.job@gmail.com> | 2016-10-20 00:00:17 +0300 |
commit | b86fe1d16a4ad06951bba9ac2990ec3e4563637a (patch) | |
tree | 16cdd2ca2bb19b0a898b2b90b313f96a86f8fe79 /.travis.yml | |
parent | 9c01af6e34f7d63843bacfcffb8c7ad45d6866cf (diff) | |
download | time-picker-b86fe1d16a4ad06951bba9ac2990ec3e4563637a.tar.gz time-picker-b86fe1d16a4ad06951bba9ac2990ec3e4563637a.tar.zst time-picker-b86fe1d16a4ad06951bba9ac2990ec3e4563637a.zip |
feat: 'addon' property support
..to be able to render something like OK button to timepicker:
```
<TimePicker
allowEmpty={false}
addon={panel => {
return (
<div className="row">
<a role="button" className="btn btn-sm btn-default" onClick={() => panel.close()}>
{__('OK')}
</a>
</div>
)
}}
/>
```
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions