-
Notifications
You must be signed in to change notification settings - Fork 427
/
Copy pathsetup-assistant.d.ts
35 lines (35 loc) · 1.17 KB
/
setup-assistant.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
declare module '@salesforce/design-system-react/components/setup-assistant' {
import React from 'react';
type Props = {
/**
* Accepts SetupAssistantStep components only as children.
*/
children?: React.ReactNode;
/**
* CSS classes to be added to tag with `.slds-progress-bar`. Uses `classNames` [API](https://github.com/JedWatson/classnames).
*/
className?: any[] | Record<string, any> | string;
/**
* HTML id for component.
*/
id?: string;
/**
* Dictates whether this setup assistant has card wrappings and styling
*/
isCard?: boolean;
/**
* Function to handle opening / closing of steps when the step is expandable. Passes event object and step `index`, `isOpen`, and `step` props as data.
*/
onStepToggleIsOpen?: (event: React.SyntheticEvent, v: any) => any;
/**
* Accepts a progress bar component, which will only be visible if `isCard` is enabled
*/
progressBar?: React.ReactNode;
};
/**
* Setup Assistant provides Administrators with a centralized list of tasks for
* onboarding organizations, clouds, or features within the Salesforce Platform.
*/
function Component(props: Props): JSX.Element;
export default Component;
}