anvilco / react-ui

React E-Sign UI components by Anvil

Home Page:https://www.useanvil.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`style` prop is not exposed in TS types for `AnvilEmbedFrame`

LucasLemanowicz opened this issue · comments

Describe the bug
The style prop is not exposed in the <AnvilEmbedFrame /> component properly causing type errors when using in Typescript.

To Reproduce
Steps to reproduce the behavior:

  1. Add style={{}} prop to <AnvilEmbedFrame />
  2. See type error

Expected behavior
Expect style prop to be exposed in Typescript definition

Screenshots
Screenshot 2023-11-13 at 11 12 44 AM

Additional context
Package: "@anvilco/anvil-embed-frame": "^2.0.0"
Repro: https://codesandbox.io/s/fast-dawn-gt25w4?file=/src/App.tsx

Thanks for the heads up, we'll look into this