-
Notifications
You must be signed in to change notification settings - Fork 427
/
Copy pathvisual-picker.d.ts
42 lines (42 loc) · 1.06 KB
/
visual-picker.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
36
37
38
39
40
41
42
declare module '@salesforce/design-system-react/components/visual-picker' {
import React from 'react';
type Props = {
/**
* HTML id for component.
*/
id?: string;
/**
* Visual Picker accepts `Checkbox`, `Radio` and `VisualPickerLink` components as children. Please see `Checkbox`, `Radio` and `VisualPickerLink` for props.
*/
children?: React.ReactNode;
/**
* CSS classes to be added to tag with `.slds-form-element`. Uses `classNames` [API](https://github.com/JedWatson/classnames).
*/
className?: any[] | Record<string, any> | string;
/**
* Label for the visual picker
*/
label?: string;
/**
* Whether the visual picker is coverable on selection
*/
coverable?: boolean;
/**
* Whether the visual picker has a vertical layout
*/
vertical?: boolean;
/**
* Whether the visual picker has links as children
*/
links?: boolean;
/**
* Size for visual picker
*/
size?: 'medium' | 'large';
};
/**
* Visual Picker Component
*/
function Component(props: Props): JSX.Element;
export default Component;
}