# CommunityView

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/unions/community-view


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
union CommunityView = EventPeopleListView | EventExhibitorListView | EventFeedView | EventPlanningListView | EventRedirectUrlView | EventChatroomView | EventMyVisitView | EventGroupView | EventProductListView | CommunityViewMyCommunity
```

### Possible types

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventPeopleListView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-people-list-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventExhibitorListView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-exhibitor-list-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventFeedView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-feed-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventPlanningListView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-planning-list-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventRedirectUrlView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-redirect-url-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventChatroomView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-chatroom-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventMyVisitView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-my-visit-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventGroupView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-group-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>EventProductListView</b></code>](/organizer/content-api/graphql-event-api-schema/objects/event-product-list-view) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>CommunityView.<b>CommunityViewMyCommunity</b></code>](/organizer/content-api/graphql-event-api-schema/objects/community-view-my-community) <Badge class="badge badge--secondary" text="object"/> 
> 
> 
> 
> 

### Member Of

[`CommunityViewsConnection`](/organizer/content-api/graphql-event-api-schema/objects/community-views-connection)  <Badge class="badge badge--secondary" text="object"/>
