Skip to main content

@dialstack/sdk-dev / react/src/phone-numbers / PhoneNumbers

Variable: PhoneNumbers

TypeScript
const PhoneNumbers: React.FC<PhoneNumbersProps>;

Defined in: sdk/react/src/react/PhoneNumbers.tsx:97

PhoneNumbers component displays a unified list of all phone numbers for the authenticated account.

Merges data from DIDs, number orders, and port orders into a single table with status tabs (Active / In Progress / Cancelled), sortable columns, a client-side search box, and pagination.

Must be used within a DialstackComponentsProvider.

Example

TypeScript
<DialstackComponentsProvider dialstack={dialstack}>
<PhoneNumbers
limit={20}
onRowClick={(e) => console.log('Selected:', e.phoneNumber)}
/>
</DialstackComponentsProvider>
On this page