Skip to main content

CLThumbnail

Example​

import {CLThumbnail} from '@castlabs/react-native-prestoplay';

Extends​

Constructors​

new CLThumbnail(props)​

new CLThumbnail(props): CLThumbnail

Parameters​

ParameterType
propsCLThumbnailProps

Overrides​

Component<CLThumbnailProps, States>.constructor

Properties​

height​

height: number = C.UNSET;

instanceId​

instanceId: number = C.UNSET;

width​

width: number = C.UNSET;

x​

x: number = C.UNSET;

y​

y: number = C.UNSET;

Methods​

onLayout()​

onLayout(event): void

Parameters​

ParameterType
eventLayoutChangeEvent

onViewCreated()​

onViewCreated(event): void

Parameters​

ParameterType
eventNativeSyntheticEvent<ViewCreatedData>

render()​

render(): Element

Overrides​

Component.render