fix(storybook): Fixing broken UI Storybook components' pages (#3455)

This commit is contained in:
Bruno Alves de Faria authored and GitHub committed 2023-06-07 09:05:35 -04:00
1 parent 9ee13860a2
commit 874260340a
49 files changed
+194 -91

No files matched your search

@@ -1,7 +1,8 @@
import React, { useState } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import { Icon } from '../';
import Icon from '../Icon';
const MeasurementItem = ({
uid,
@@ -34,6 +34,13 @@ MeasurementTable is a component that renders the MeasurementTables.
name="Overview"
args={{
title: 'Measurements',
servicesManager: {
services: {
customizationService: {
getCustomization: (title, data) => data.content,
}
},
},
}}
>
{MeasurementTableTemplate.bind({})}
@@ -62,6 +69,13 @@ With data
isActive: false,
},
],
servicesManager: {
services: {
customizationService: {
getCustomization: (title, data) => data,
}
},
},
}}
>
{MeasurementTableTemplate.bind({})}