import * as React from 'react'; import { Commands as SmartlookSensitiveViewCommands } from '../SmartlookSensitiveViewNativeCommands'; import type { SmartlookSensitiveViewType } from '../types/SmartlookSensitiveViewType'; import { REF_NOT_INITIALIZED_WARNING } from './useSmartlookSensitiveViewRef'; /** * Custom callback for an imperative-like sensitivity control over the `SmartlookSensitiveView`'s ref. * It utilises the codegenNativeCommands under the hood. Available only in ReactNative 0.68+. * * @example * ```typescript * const sensitiveViewRef = useSmartlookSensitiveViewRef(); * const changeTextViewSensitivity = useSmartlookSensitiveViewCommands(sensitiveViewRef.current); * * ... * * * I'm a sensitive text! * *