IEnumerable <FlowComponentOrNode> ButtonStyle.GetChildren() { return(ActionComponentIcon.GetIconAndTextComponents(icon, text)); }
IReadOnlyCollection <FlowComponent> ButtonStyle.GetChildren() { return(ActionComponentIcon.GetIconAndTextComponents(icon, text)); }
IEnumerable <FlowComponentOrNode> HyperlinkStyle.GetChildren(string destinationUrl) { return(ActionComponentIcon.GetIconAndTextComponents(icon, text.Any() ? text : destinationUrl)); }
IReadOnlyCollection <FlowComponent> HyperlinkStyle.GetChildren(string destinationUrl) => ActionComponentIcon.GetIconAndTextComponents(icon, text.Any() ? text : destinationUrl);