diff --git a/src/plugins/layout/layout2/ToolbarIcon.js b/src/plugins/layout/layout2/ToolbarIcon.js new file mode 100644 index 000000000..7a0295f4a --- /dev/null +++ b/src/plugins/layout/layout2/ToolbarIcon.js @@ -0,0 +1,38 @@ +/** + * Copyright 2018-present Facebook. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * @format + */ + +import {Glyph, styled, colors} from 'flipper'; + +type Props = {| + title: string, + icon: string, + active: boolean, + onClick: () => void, +|}; + +const ToolbarIcon = styled('div')({ + marginRight: 9, + marginTop: -3, + marginLeft: 4, + position: 'relative', // for settings popover positioning +}); + +export default function(props: Props) { + return ( + + + + ); +}