Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type '"pass-through"' is not assignable to type 'BlendMode' #40

Open
Prince-Mendiratta opened this issue Oct 1, 2024 · 1 comment
Open

Comments

@Prince-Mendiratta
Copy link

Hi, the value pass-through is not assignable to blendMode.

Reproducable code:

const { AutoLayout } = figma.widget;

export const InputField = () => {
  return (
    <AutoLayout
      width={320}
      name="Input field"
      x={-160}
      y={-49}
      blendMode="pass-through"
      cornerRadius={{ topLeft: 0, topRight: 0, bottomLeft: 0, bottomRight: 0 }}
      padding={{ top: 0, right: 0, bottom: 0, left: 0 }}
      direction="vertical"
      overflow="visible"
    ></AutoLayout>
  );
};

Version: 1.9.2

@Isaiah-Turner
Copy link
Contributor

Thanks for the feedback! I added an internal task to track the typings fix here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants