How to use the semantic-ui-react.Menu.Menu function in semantic-ui-react

To help you get started, we’ve selected a few semantic-ui-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / fluent-ui-react / docs / src / components / ComponentDoc / ComponentSidebar / ComponentSidebarSection.tsx View on Github external
render() {
    const { activePath, examples, sectionName } = this.props
    const { isActiveByProps, isActiveByUser } = this.state

    const active = isActiveByUser || isActiveByProps

    return (
      
        
          <b>{sectionName}</b>
          
        
        
          {_.map(examples, ({ title, examplePath }) =&gt; (
            
          ))}
        
      
    )
  }
}
github Raathigesh / atmo / packages / app / src / renderer / components / sidebar / Sidebar.tsx View on Github external
function Side({
  endpoints,
  currentEndpoint,
  addEndpoint,
  onEndpointSelection,
  onEndpointDelete,
  moveEndpoint,
  openPreferenceDialog,
  save,
  deploy,
  remoteDeploy,
  closeProject
}: ISideBar) {
  const UrlContainer = SortableContainer(Menu.Menu);
  const urls = endpoints.map((endpoint, index) =&gt; {
    const UrlElement = SortableElement(Url);
    return (
       1}
      /&gt;
    );
  });
github inloco / supernova / components / Layout / Sidebar / Submenu / Accordion.js View on Github external
const classes = cx(
      'inloco-layout__sidebar-submenu-accordion',
      'submenu-accordion',
      className
    )
    return (
      
        
          {Icon.create(normalizeIconProp(icon), { autoGenerateKey: false })}
          <span>
            {content}
          </span>
          
        
        
          
            {children}
          
        
      
    )
  }
github inloco / supernova / stories / Menu / vertical.stories.js View on Github external
.add('open', () =&gt; (
    <menu>
      
      
        
          
          <span>Places</span>
          
        
        
          
          
        
      
      
    </menu>
  ))
  .add('open selected', () =&gt; (
github chanshiyucx / heart-beat / src / components / nav.js View on Github external
const Container = styled.div`
  padding-left: 280px;
  height: 60px;
`

const StyledMenu = styled(Menu)`
  height: 100%;
`

const StyledMenuItem = styled(Menu.Item)`
  width: 80px;
  justify-content: center;
`

const StyledInput = styled(Menu.Menu)`
  width: 239px;
`

class Nav extends PureComponent {
  handleItemClick = (e, { name }) => {
    this.props.dispatch({
      type: 'appModel/switchRoute',
      payload: {
        route: name,
      },
    })
  }

  render() {
    const { route } = this.props
    return (
github Raathigesh / atmo / packages / app / src / renderer / components / sidebar / Endpoint.tsx View on Github external
function Side({
  endpoints,
  currentEndpoint,
  addEndpoint,
  onEndpointSelection,
  onEndpointDelete,
  moveEndpoint,
  openPreferenceDialog,
  save,
  deploy
}: ISideBar) {
  const UrlElement = SortableElement(Url);
  const UrlContainer = SortableContainer(Menu.Menu);

  const urls = endpoints.map((endpoint, index) =&gt; {
    return (
      
    );
  });

  return (