Changeset View
Changeset View
Standalone View
Standalone View
web/sidebar/community-drawer-item-handler.react.js
// @flow | // @flow | ||||
export type CommunityDrawerItemHandler = { | export type CommunityDrawerItemHandler = { | ||||
+onClick: (event: SyntheticEvent<HTMLElement>) => void, | +onClick: (event: SyntheticEvent<HTMLElement>) => void, | ||||
+expanded: boolean, | |||||
+toggleExpanded: () => void, | |||||
+isActive: boolean, | +isActive: boolean, | ||||
}; | }; | ||||
export type CommunityDrawerItemCommunityHandler = { | export type CommunityDrawerItemCommunityHandler = { | ||||
+onClick: (event: SyntheticEvent<HTMLElement>) => void, | +onClick: (event: SyntheticEvent<HTMLElement>) => void, | ||||
+expanded: boolean, | +expanded: boolean, | ||||
+isActive: boolean, | +isActive: boolean, | ||||
}; | }; |