File tree 4 files changed +12
-14
lines changed
packages/admin-ui/src/components
4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import ListItem from '@material-ui/core/ListItem';
8
8
import DeleteIcon from '@material-ui/icons/Delete' ;
9
9
import FormLabel from '@material-ui/core/FormLabel' ;
10
10
import ReorderIcon from '@material-ui/icons/Reorder' ;
11
+ import Fab from '@material-ui/core/Fab' ;
11
12
import FormControl from '@material-ui/core/FormControl' ;
12
13
import ListItemText from '@material-ui/core/ListItemText' ;
13
14
import ListItemIcon from '@material-ui/core/ListItemIcon' ;
@@ -210,9 +211,8 @@ class MultipleFields extends Component {
210
211
} ) }
211
212
</ ListItemText >
212
213
< Fragment >
213
- < Button
214
+ < Fab
214
215
mini
215
- variant = "fab"
216
216
color = "secondary"
217
217
className = "remove"
218
218
aria-label = "Remove Image"
@@ -224,7 +224,7 @@ class MultipleFields extends Component {
224
224
} }
225
225
>
226
226
< DeleteIcon />
227
- </ Button >
227
+ </ Fab >
228
228
</ Fragment >
229
229
</ ListItem >
230
230
) ) }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import FormLabel from '@material-ui/core/FormLabel';
10
10
import TextField from '@material-ui/core/TextField' ;
11
11
import List from '@material-ui/core/List' ;
12
12
import ListItem from '@material-ui/core/ListItem' ;
13
- import Button from '@material-ui/core/Button ' ;
13
+ import Fab from '@material-ui/core/Fab ' ;
14
14
import DeleteIcon from '@material-ui/icons/Delete' ;
15
15
16
16
import WidgetPropTypes from '../../05_pages/NodeForm/WidgetPropTypes' ;
@@ -250,10 +250,9 @@ class FileUploadWidget extends React.Component {
250
250
)
251
251
}
252
252
/>
253
- < Button
253
+ < Fab
254
254
mini
255
255
id = { id }
256
- variant = "fab"
257
256
color = "secondary"
258
257
className = "remove"
259
258
aria-label = "Remove Image"
@@ -268,7 +267,7 @@ class FileUploadWidget extends React.Component {
268
267
} }
269
268
>
270
269
< DeleteIcon />
271
- </ Button >
270
+ </ Fab >
272
271
</ ListItem >
273
272
{ ! last && < Divider /> }
274
273
</ Fragment >
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import Paper from '@material-ui/core/Paper';
10
10
import Input from '@material-ui/core/Input' ;
11
11
import InputLabel from '@material-ui/core/InputLabel' ;
12
12
import MenuItem from '@material-ui/core/MenuItem' ;
13
+ import Fab from '@material-ui/core/Fab' ;
13
14
import FormControl from '@material-ui/core/FormControl' ;
14
15
import ListItemText from '@material-ui/core/ListItemText' ;
15
16
import Select from '@material-ui/core/Select' ;
@@ -310,16 +311,15 @@ class Content extends Component {
310
311
</ Fragment >
311
312
) }
312
313
313
- < Button
314
- variant = "fab"
314
+ < Fab
315
315
color = "primary"
316
316
aria-label = "add"
317
317
className = { styles . addButton }
318
318
component = { Link }
319
319
to = "/node/add"
320
320
>
321
321
< AddIcon />
322
- </ Button >
322
+ </ Fab >
323
323
</ div >
324
324
< ContentTable
325
325
pageChangeHandler = { this . pageChangeHandler }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import TableCell from '@material-ui/core/TableCell';
14
14
import TableHead from '@material-ui/core/TableHead' ;
15
15
import TableRow from '@material-ui/core/TableRow' ;
16
16
17
- import Button from '@material-ui/core/Button ' ;
17
+ import Fab from '@material-ui/core/Fab ' ;
18
18
import AddIcon from '@material-ui/icons/Add' ;
19
19
20
20
import FormControl from '@material-ui/core/FormControl' ;
@@ -119,16 +119,15 @@ export default class TaxonomyTermsOverview extends React.Component {
119
119
</ TableBody >
120
120
</ Table >
121
121
</ Paper >
122
- < Button
123
- variant = "fab"
122
+ < Fab
124
123
color = "primary"
125
124
aria-label = "add"
126
125
className = { styles . addButton }
127
126
component = { Link }
128
127
to = { `/admin/structure/taxonomy/manage/${ this . props . vocabulary } /add` }
129
128
>
130
129
< AddIcon />
131
- </ Button >
130
+ </ Fab >
132
131
</ Fragment >
133
132
) ;
134
133
}
You can’t perform that action at this time.
0 commit comments