@dialstack/sdk-dev / js/src / OnboardingPortalClasses
Interface: OnboardingPortalClasses
Defined in: sdk/js/src/types/account-onboarding.ts:26
Base CSS class names that can be applied to component states.
These classes are applied to the component's container element, allowing integration with external CSS frameworks (Tailwind, Bootstrap, etc.)
Example
// Using with Tailwind CSS
classes: {
base: 'rounded-lg border border-gray-200',
loading: 'animate-pulse bg-gray-100',
error: 'border-red-500 bg-red-50',
empty: 'text-gray-400 italic'
}
Extends
Properties
base?
optional base?: string;
Defined in: sdk/js/src/types/appearance.ts:174
Base class applied to the container always
Default
'dialstack-component'
Inherited from
empty?
optional empty?: string;
Defined in: sdk/js/src/types/appearance.ts:192
Class applied when the component has no data
Default
'dialstack-component--empty'
Inherited from
error?
optional error?: string;
Defined in: sdk/js/src/types/appearance.ts:186
Class applied when there's an error
Default
'dialstack-component--error'
Inherited from
loading?
optional loading?: string;
Defined in: sdk/js/src/types/appearance.ts:180
Class applied when the component is loading
Default
'dialstack-component--loading'
Inherited from
mainContent?
optional mainContent?: string;
Defined in: sdk/js/src/types/account-onboarding.ts:28
sidebar?
optional sidebar?: string;
Defined in: sdk/js/src/types/account-onboarding.ts:27