//! `use_video_config` hook — returns the `VideoConfig` for the current composition.
//!
//! Equivalent to Remotion's `useVideoConfig()`.
//!
//! # Usage
//! ```rust,ignore
//! use dioxuscut_core::hooks::use_video_config;
//!
//! fn MyComponent() -> Element {
//! let config = use_video_config();
//! rsx! { div { "FPS: {config.fps}" } }
//! }
//! ```
use crateVideoConfigContext;
use crateVideoConfig;
use *;
/// Returns the [`VideoConfig`] of the enclosing `<Composition>`.
///
/// # Panics
/// Panics in debug mode if called outside a `<Composition>`.