-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I just discovered this component but I can't get how to make it work.
I use React Storybook to work on my component. Is there any issue with it ? As it renders the component into a iframe?
Here is my component:
import React from 'react';
import injectSheet from 'react-jss';
import style from '../theme/splitView';
import Section from '../4-layouts/Section';
import View from '../0-atoms/View';
import Sticky from 'react-sticky-state';
const SplitView = ({sheet:{classes}, renderTop, renderMiddle, renderBottom}) =>
<View className={classes.wzSplitView}>
<Section className="topView">{renderTop()}</Section>
<Sticky>
<div className="sticky top" style={{top: "132px"}}>
<View className="handleBar">{renderMiddle()}</View>
</div>
</Sticky>
<Section className="bottomView" secondary>{renderBottom()}</Section>
</View>;
export default injectSheet(style)(SplitView);
I excepting my middle tab bar to stays stick at the top but nothing happens. Event the class is not changing.
irina-zorkova
Metadata
Metadata
Assignees
Labels
No labels

