Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.attio.com/llms.txt

Use this file to discover all available pages before exploring further.

import {LoadingState} from "attio/client"
When used inside a dialog, this component will fill the entire Dialog, hiding any other UI. LoadingState can be very useful as a fallback for React.Suspense.
Dialogs are already suspenseful!If any React code in your dialog suspends, a loading state will be shown automatically.This component is only for when you need to control the message shown during loading.

Props

children
string
An optional message to display next to the spinner. e.g. "Loading contacts...".Defaults to "Loading...".