Hi. I’m trying to learn how bindings work and more specifically bindings to @Emotion.styled
For example the following in JS:
import styled from '@emotion/styled';
const Wrapper = styled.div``
Looking at How to bind to Framer Motion style (motion.div) components - #2 by kevanstannard for inspiration I tried to bind it in ReScript:
module Styled = {
@module("@emotion/styled") @scope("default") @react.component
external div: React.element = "div"
}
However it did not work.
Thankful for any clues and answers!