@useloops/design-system 1.4.72 → 1.4.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -232,7 +232,7 @@ interface CheckboxProps {
232
232
  sizing?: StyledCheckboxProps['sizing'];
233
233
  checked?: boolean;
234
234
  indeterminate?: StyledCheckboxProps['indeterminate'];
235
- checkboxLabel?: string;
235
+ checkboxLabel?: string | ReactElement;
236
236
  internalChange?: () => void;
237
237
  onChange?: (event: React.SyntheticEvent<Element, Event>, checked: boolean) => void;
238
238
  inputRef?: React.RefObject<HTMLInputElement>;
@@ -325,7 +325,7 @@ interface FormControlLabelProps {
325
325
  control: FormControlLabelProps$1['control'];
326
326
  checked?: boolean;
327
327
  disabled?: boolean;
328
- label?: string;
328
+ label?: string | ReactElement;
329
329
  sx?: SxProps<Theme>;
330
330
  onChange?: FormControlLabelProps$1['onChange'];
331
331
  value?: unknown;
@@ -537,6 +537,7 @@ type SelectProps = {
537
537
  sizing?: 'xs' | 'md' | 'lg';
538
538
  sx?: SelectProps$1['sx'];
539
539
  value?: SelectProps$1['value'];
540
+ renderListItem?: (label: string) => ReactElement;
540
541
  };
541
542
  declare const Select: FunctionComponent<SelectProps>;
542
543