@oliasoft-open-source/charts-library 2.5.6 → 2.5.7
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/package.json
CHANGED
package/release-notes.md
CHANGED
|
@@ -37,7 +37,7 @@ const Controls = ({
|
|
|
37
37
|
return (
|
|
38
38
|
<>
|
|
39
39
|
<div className={styles.controls}>
|
|
40
|
-
|
|
40
|
+
{headerComponent || <Text bold>{chart.options.title}</Text>}
|
|
41
41
|
<div className={styles.buttons}>
|
|
42
42
|
{!showTable && (
|
|
43
43
|
<>
|
|
@@ -522,6 +522,15 @@ export const HeaderComponent = (args) => {
|
|
|
522
522
|
);
|
|
523
523
|
};
|
|
524
524
|
|
|
525
|
+
export const HeaderComponentFullWidth = Template.bind({});
|
|
526
|
+
HeaderComponentFullWidth.args = {
|
|
527
|
+
headerComponent: (
|
|
528
|
+
<div style={{ flexGrow: 1, minWidth: 150 }}>
|
|
529
|
+
<Slider max={100} min={0} onChange={() => {}} showArrows value={50} />
|
|
530
|
+
</div>
|
|
531
|
+
),
|
|
532
|
+
};
|
|
533
|
+
|
|
525
534
|
export const SubheaderComponent = Template.bind({});
|
|
526
535
|
SubheaderComponent.args = {
|
|
527
536
|
subheaderComponent: (
|