@sequencing/design-system 1.0.20 → 1.0.21

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.
@@ -4,11 +4,15 @@ interface Tab {
4
4
  label: ReactNode;
5
5
  tabId: number;
6
6
  chip?: ReactNode;
7
+ customClass?: string;
7
8
  }
8
9
  export interface TabMenuProps {
9
10
  /** Custom css class to customize the stylings */
10
11
  customClass?: string;
11
- /** Custom css class to apply to individual tabs */
12
+ /**
13
+ * Custom css class to apply to all individual tabs. For full control over individual tabs' classes, set the `customClass`
14
+ * property individually on the `tabs` array
15
+ */
12
16
  tabCustomClass?: string;
13
17
  /** This prop determines tab's 'value' for purposes of switching tabs */
14
18
  tabs: Tab[];
package/dist/index.d.ts CHANGED
@@ -209,11 +209,15 @@ interface Tab {
209
209
  label: ReactNode;
210
210
  tabId: number;
211
211
  chip?: ReactNode;
212
+ customClass?: string;
212
213
  }
213
214
  interface TabMenuProps {
214
215
  /** Custom css class to customize the stylings */
215
216
  customClass?: string;
216
- /** Custom css class to apply to individual tabs */
217
+ /**
218
+ * Custom css class to apply to all individual tabs. For full control over individual tabs' classes, set the `customClass`
219
+ * property individually on the `tabs` array
220
+ */
217
221
  tabCustomClass?: string;
218
222
  /** This prop determines tab's 'value' for purposes of switching tabs */
219
223
  tabs: Tab[];