rte-utils 1.2.309 → 1.2.310

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.
@@ -9,20 +9,24 @@ export interface OptionItemProps {
9
9
  */
10
10
  content: string;
11
11
  /**
12
- * The icon to display next to the tickbox
12
+ * The content class name
13
+ */
14
+ className?: string;
15
+ /**
16
+ * The icon to display in the OptionItem
13
17
  */
14
18
  icon?: React.ReactNode;
15
19
  /**
16
- * The checked state of the tickbox
20
+ * The checked state of the OptionItem
17
21
  */
18
22
  checked?: boolean;
19
23
  /**
20
- * The disabled state of the tickbox
24
+ * The disabled state of the OptionItem
21
25
  */
22
26
  disabled?: boolean;
23
27
  /**
24
- * The on change handler of the tickbox
28
+ * The on change handler of the OptionItem
25
29
  */
26
30
  onChange: (checked: boolean) => void;
27
31
  }
28
- export declare const OptionItem: ({ type, content, icon, checked, disabled, onChange, }: OptionItemProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const OptionItem: ({ type, content, className, icon, checked, disabled, onChange, }: OptionItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -11,6 +11,7 @@ export declare const RadioDefault: Story;
11
11
  export declare const RadioChecked: Story;
12
12
  export declare const RadioDisabled: Story;
13
13
  export declare const RadioDisabledChecked: Story;
14
+ export declare const WithClassName: Story;
14
15
  export declare const WithIcon: Story;
15
16
  export declare const WithIconChecked: Story;
16
17
  export declare const RadioGroup: Story;