projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set tslint semicolon rule and aply it to the project
[arvados-workbench2.git]
/
src
/
components
/
main-app-bar
/
dropdown-menu
/
dropdown-menu.tsx
diff --git
a/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
b/src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
index 34f9bf3f4659ee0c3ca0067a7f71db3a6029ab68..4ce2f596e5d783f781fce4aab1b70e2e8fe38df0 100644
(file)
--- a/
src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
+++ b/
src/components/main-app-bar/dropdown-menu/dropdown-menu.tsx
@@
-8,8
+8,8
@@
import { PopoverOrigin } from '@material-ui/core/Popover';
interface DropdownMenuDataProps {
interface DropdownMenuDataProps {
- id: string
,
- icon: React.ComponentType
,
+ id: string
;
+ icon: React.ComponentType
;
}
}
@@
-19,12
+19,12
@@
class DropdownMenu extends React.Component<DropdownMenuProps> {
state = {
anchorEl: undefined
state = {
anchorEl: undefined
- }
+ }
;
transformOrigin: PopoverOrigin = {
vertical: "top",
horizontal: "center"
transformOrigin: PopoverOrigin = {
vertical: "top",
horizontal: "center"
- }
+ }
;
render() {
const { icon: Icon, id, children } = this.props;
render() {
const { icon: Icon, id, children } = this.props;
@@
-52,17
+52,17
@@
class DropdownMenu extends React.Component<DropdownMenuProps> {
{children}
</Menu>
</div>
{children}
</Menu>
</div>
- )
+ )
;
}
handleClose = () => {
}
handleClose = () => {
- this.setState({ anchorEl: undefined })
+ this.setState({ anchorEl: undefined })
;
}
handleOpen = (event: React.MouseEvent<HTMLButtonElement>) => {
}
handleOpen = (event: React.MouseEvent<HTMLButtonElement>) => {
- this.setState({ anchorEl: event.currentTarget })
+ this.setState({ anchorEl: event.currentTarget })
;
}
}
}
}
-export default DropdownMenu
+export default DropdownMenu
;