-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4175 from jedwardmook/WV-659
WV-659 VoterPositionEntryAndDisplay: Open modal when you click "What's your opinion?" input
- Loading branch information
Showing
4 changed files
with
402 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
10 changes: 9 additions & 1 deletion
10
src/js/common/stories/VoterPositionEntryAndDisplay.stories.js
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
import React from 'react'; | ||
import { ThemeProvider } from '@mui/material/styles'; | ||
import VoterPositionEntryAndDisplay from '../components/PositionItem/VoterPositionEntryAndDisplay'; | ||
import muiTheme from '../components/Style/muiTheme'; | ||
|
||
|
||
|
||
export default { | ||
title: 'Components/PositionItem/VoterPositionEntryAndDisplay', | ||
component: VoterPositionEntryAndDisplay, | ||
}; | ||
|
||
export const Default = () => <VoterPositionEntryAndDisplay />; | ||
export const Default = () => ( | ||
<ThemeProvider theme={muiTheme}> | ||
<VoterPositionEntryAndDisplay /> | ||
</ThemeProvider> | ||
); |
This file contains 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
Oops, something went wrong.