This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {useEffect} from 'react' | |
import {fireEvent, within} from '@storybook/testing-library' | |
import userEvent from '@testing-library/user-event' | |
export const presentInteraction = storyFn => { | |
return ( | |
<div> | |
<PresentInteraction/> | |
{storyFn()} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {mswMocks as ruleMocks, getRulesBody} from '../../../api/rules/rulesMocks' | |
import {mswMocks as rulesetMocks, getRulesetsBody} from '../../../api/rulesets/rulesetsMocks' | |
import {mswMocks as channelMocks} from '../../../api/channels/channelMocks' | |
import RuleBuilder from './RuleBuilder' | |
// -------------------------------------- setup ---------------------------------------- | |
let items = getRulesetsBody, | |
item = items[0], | |
{name, uuid} = item || {}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div css={styles}> | |
<div class="panel flex-container"> | |
<div class="header">fixed</div> | |
<div class="content flex-container non-scrollable"> | |
<div class="flex-container non-scrollable"> | |
expands.. | |
<div class="list scrollable"> | |
scrolls... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
OlderNewer