From 24666f668196c609b70accabac1f94f04fec55ae Mon Sep 17 00:00:00 2001 From: xidedix Date: Mon, 25 Mar 2019 15:36:01 +0100 Subject: [PATCH] refactor(Forms): move to InputGroupButtonDropdown where applicable --- src/views/Base/Forms/Forms.js | 116 ++++++++++++++++------------------ 1 file changed, 56 insertions(+), 60 deletions(-) diff --git a/src/views/Base/Forms/Forms.js b/src/views/Base/Forms/Forms.js index e8db662..3c9f4fd 100644 --- a/src/views/Base/Forms/Forms.js +++ b/src/views/Base/Forms/Forms.js @@ -2,7 +2,6 @@ import React, { Component } from 'react'; import { Badge, Button, - ButtonDropdown, Card, CardBody, CardFooter, @@ -20,6 +19,7 @@ import { Input, InputGroup, InputGroupAddon, + InputGroupButtonDropdown, InputGroupText, Label, Row, @@ -739,21 +739,20 @@ class Forms extends Component { - - { this.setState({ first: !this.state.first }); }}> - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - + { this.setState({ first: !this.state.first }); }}> + + Dropdown + + + Action + Another Action + Something else here + + Separated link + + @@ -762,57 +761,54 @@ class Forms extends Component { - - { this.setState({ second: !this.state.second }); }}> - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - + { this.setState({ second: !this.state.second }); }}> + + Dropdown + + + Action + Another Action + Something else here + + Separated link + + - - { this.setState({ third: !this.state.third }); }}> - {/**/} - Action - - Action - Another Action - Something else here - - Separated link - - - + { this.setState({ third: !this.state.third }); }}> + Action + + Action + Another Action + Something else here + + Separated link + + - - { this.setState({ fourth: !this.state.fourth }); }}> - - Dropdown - - - Action - Another Action - Something else here - - Separated link - - - + { this.setState({ fourth: !this.state.fourth }); }}> + + Dropdown + + + Action + Another Action + Something else here + + Separated link + +