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

feat(banner): Support maximum height for Inline Adaptive banners #663

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update src/types/BannerAdProps.ts
Co-authored-by: Dylan <dylancompanjen@gmail.com>
  • Loading branch information
markwilcox and dylancom authored Dec 19, 2024
commit ab2252296c6755702c699e78f451608d560f200e
4 changes: 4 additions & 0 deletions src/types/BannerAdProps.ts
Original file line number Diff line number Diff line change
@@ -48,6 +48,10 @@ export interface BannerAdProps {
*/
size: BannerAdSize | string;

/**
* Limit inline adaptive banner height.
* By default, inline adaptive banners instantiated without a maxHeight value have a maxHeight equal to the device height.
*/
maxHeight?: number;
markwilcox marked this conversation as resolved.
Show resolved Hide resolved
/**
* The request options for this banner.
Loading