File size: 541 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Query All Domains

`<QueryAllDomains />` is a React component used in managing network requests for all of a user's domains across sites.

## Usage

Render the component. It does not accept any properties and/or children, nor does it render any elements to the page.

```jsx
import QueryAllDomains from 'calypso/components/data/query-all-domains';

export default function listAllDomains( { domains } ) {
	return (
		<div>
			<QueryAllDomains />
			{ domains.map( ( domain ) => (
				<li>{ domain.domain }</li>
			) ) }
		</div>
	);
}
```