[][src]Function jss::types::pair_to_flex

pub fn pair_to_flex(
    key: String,
    value: StyleUnit
) -> Result<FlexStyle, PropertyError>

Convertor: create FlexStyle by property key and unit value