We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6797570 commit b687c82Copy full SHA for b687c82
src/components/desktopcontainer.js
@@ -22,6 +22,7 @@ import {
22
} from 'semantic-ui-react';
23
24
const DesktopContainer = ({ children }) => {
25
+ const [fixed, setFixed] = useState(false);
26
const hideFixedMenu = () => setFixed(false);
27
const showFixedMenu = () => setFixed(true);
28
@@ -46,6 +47,10 @@ const DesktopContainer = ({ children }) => {
46
47
</Segment>
48
</Visibility>
49
50
+ <Responsive>
51
+ <Menu fixed={fixed ? 'top' : null} />
52
+ </Responsive>
53
+
54
{children}
55
</div>
56
);
0 commit comments