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

Add Iframe Component support #47

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

ischaojie
Copy link
Contributor

@ischaojie ischaojie commented Dec 2, 2023

fixes #40

image

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise, this looks awesome, thank so much.

Comment on lines 8 to 9
width?: string
height?: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these should allow number / int.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think they should also allow strings as sometimes the width and height (in css) are defined as px or em

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait, just checked that the new code has an or hahaha. my bad

@samuelcolvin samuelcolvin merged commit f0a9cbe into pydantic:main Dec 4, 2023
4 checks passed
@samuelcolvin
Copy link
Member

Thanks so much.

@ischaojie ischaojie deleted the iframe-component branch December 4, 2023 13:10
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

Successfully merging this pull request may close these issues.

Iframe component
3 participants