import {Component} from 'react'
import * as React from 'react'
import {requireNativeComponent, StyleProp, ViewStyle} from 'react-native'

const NativeFCLiveLikeWidget = requireNativeComponent('FCLiveLikeWidgetView')

export interface FCLiveLikeWidgetProps {
  programId: String
  style: StyleProp<ViewStyle>
}

export interface FCLiveLikeWidgetState {}

class FCLiveLikeWidget extends Component<
  FCLiveLikeWidgetProps,
  FCLiveLikeWidgetState
> {
  render() {
    return (
      <NativeFCLiveLikeWidget
        programId={this.props.programId}
        style={this.props.style}
      />
    )
  }
}

export default FCLiveLikeWidget
