/** * rokt-embedded-view.js * * Licensed under the Rokt Software Development Kit (SDK) Terms of Use * Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * * You may obtain a copy of the License at https://rokt.com/sdk-license-2-0/ */ import React, { Component } from "react"; export interface HeightChangedEvent extends Event { height: string; } export interface MarginChangedEvent extends Event { marginTop: string; marginRight: string; marginLeft: string; marginBottom: string; } export interface WidgetChangeEvent { selectedPlacement: string; height: string; } export interface RoktEmbeddedViewProps { placeholderName: string; } export interface RoktEmbeddedViewState { height: number; placeholderName: string; marginTop: number; marginRight: number; marginLeft: number; marginBottom: number; } export declare class RoktEmbeddedView extends Component { subscription: import("react-native").EmitterSubscription; constructor(props: RoktEmbeddedViewProps); render(): React.JSX.Element; componentWillUnmount(): void; } export default RoktEmbeddedView;