Create util to handle padding #587
bukinoshita
started this conversation in
Ideas
Replies: 3 comments
-
i will take this enhancement |
Beta Was this translation helpful? Give feedback.
0 replies
-
i am unable to setup the project, In another terminal if you run running looks like dependencies were installed incorrectly for docs |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you try with latest, please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever the user passes a style prop with padding, we should have an util to handle the padding by adding the
msoPaddingAlt
attribute as well.const padding = (style: React.CSSProperties) => {
// Check if there's any padding
return { ...style, msoPaddingAlt: style.padding }
}
Beta Was this translation helpful? Give feedback.
All reactions