Implement pure version of Svg widget
This commit is contained in:
parent
9157f5b9e4
commit
ef4c79ea23
3 changed files with 70 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ pub mod image {
|
|||
pub type Image = iced_pure::widget::Image<Handle>;
|
||||
}
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
pub use iced_pure::widget::svg;
|
||||
|
||||
#[cfg(feature = "canvas")]
|
||||
pub use canvas::Canvas;
|
||||
|
||||
|
|
@ -159,3 +162,6 @@ pub use qr_code::QRCode;
|
|||
|
||||
#[cfg(feature = "image")]
|
||||
pub use image::Image;
|
||||
|
||||
#[cfg(feature = "svg")]
|
||||
pub use svg::Svg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue