Skip to content

Commit ba1de0c

Browse files
committed
feat: actions ui
1 parent 9bd6580 commit ba1de0c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/lib/components/DndPreview.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ const useStyles = makeStyles(
2626
bottom: spacing(2),
2727
overflow: 'hidden',
2828
zIndex: 1,
29-
right: spacing(60)
29+
right: spacing(41)
3030
},
3131
button: {
3232
backgroundColor: getContrastText(background.default),
3333
color: background.default,
3434
padding: spacing(1),
3535
opacity: 0.5,
36+
width: spacing(21),
37+
margin: spacing(0, 1),
3638
'&:hover': {
3739
opacity: 0.8
3840
}

src/stories/Editor.stories.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ export const Mail = () => {
4545
React.useEffect(() => {
4646
console.log(state)
4747
}, [state])
48-
return <DndEditor value={state} onHtmlChange={console.log} onChange={setState} />
48+
return (
49+
<DndEditor
50+
value={state}
51+
onHtmlChange={console.log}
52+
onSendEmail={console.log}
53+
onChange={setState}
54+
/>
55+
)
4956
}
5057

5158
export const Form = () => {

0 commit comments

Comments
 (0)