percy_preview_app/
config.rs

1use crate::async_task_spawner::AsyncTaskSpawner;
2use percy_preview::Preview;
3use std::sync::Arc;
4
5/// Configuration for the Percy Preview web client.
6pub struct WebClientConfig {
7    /// See [`AsyncTaskSpawner`]
8    pub async_task_spawner: Arc<dyn AsyncTaskSpawner>,
9    /// All of the view components previews.
10    pub previews: Vec<Preview>,
11}