use crate::{
component::IcalComponentKind,
prop::IcalPropKind,
tree::component::{lens::IcalComponentLens, spec::IcalComponentSpec},
};
#[allow(non_camel_case_types)]
pub struct VALARM;
impl IcalComponentLens for VALARM {}
impl IcalComponentSpec for VALARM {
const KIND: IcalComponentKind = IcalComponentKind::VAlarm;
fn allowed_children() -> &'static [IcalComponentKind] {
&[IcalComponentKind::VLocation]
}
fn required_props() -> &'static [IcalPropKind] {
&[IcalPropKind::Action, IcalPropKind::Trigger]
}
}