# PhoneNumberInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/phone-number-input


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
input PhoneNumberInput {
  countryCode: Int!
  number: String!
  type: PhoneNumberInputType!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>PhoneNumberInput.<b>countryCode</b></code>](#)<Bullet />[`Int!`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PhoneNumberInput.<b>number</b></code>](#)<Bullet />[`String!`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PhoneNumberInput.<b>type</b></code>](#)<Bullet />[`PhoneNumberInputType!`](/organizer/content-api/graphql-event-api-schema/enums/phone-number-input-type) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> 
> 

### Member Of

[`ExhibitorInput`](/organizer/content-api/graphql-event-api-schema/inputs/exhibitor-input)  <Badge class="badge badge--secondary" text="input"/>
