1. import {Dropdown} from 'uskin';
    2. var btn = {
    3. value: 'Dropdown Button',
    4. iconClass: 'more'
    5. };
    6. var dropdownItems = [{
    7. items: [{
    8. title: 'Reboot',
    9. key: '0'
    10. }, {
    11. title: 'Take Image Snapshot',
    12. key: '1'
    13. }]
    14. }, {
    15. items: [{
    16. title: 'Associate Public IP',
    17. key: '2'
    18. }, {
    19. title: 'Dissociate Public IP',
    20. key: '3'
    21. }, {
    22. title: 'Join Networks',
    23. key: '4'
    24. }]
    25. }...];
    26. ReactDOM.render(<div>
    27. <DropdownButton buttonData={btn} dropdownItems={dropdownItems} dropdownOnClick={listener} />
    28. </div>, mountNode);