Fix ProgressBar
doc example in iced_web
This commit is contained in:
parent
cf3ca44210
commit
07e62ae5da
@ -9,15 +9,14 @@ use std::ops::RangeInclusive;
|
||||
///
|
||||
/// # Example
|
||||
/// ```
|
||||
/// # use iced_native::renderer::Null;
|
||||
/// #
|
||||
/// # pub type ProgressBar = iced_native::ProgressBar<Null>;
|
||||
/// use iced_web::ProgressBar;
|
||||
///
|
||||
/// let value = 50.0;
|
||||
///
|
||||
/// ProgressBar::new(0.0..=100.0, value);
|
||||
/// ```
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct ProgressBar {
|
||||
range: RangeInclusive<f32>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user