% class_name = '' unless bound_locals_include?(:class_name, binding)
position_classes = comp.position.map {|p| "v-typography-position-#{p}"}.join(' ')
%>
<%= class_name %>
<%= position_classes %>
<%= 'v-actionable' if comp.events %>"
style = "<%= "color: #{comp.color};" if comp.color %>
<%= "display: inline;" if comp.inline %>"
<%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.event_parent_id} if comp.events&.any? %>>
<%= partial "components/icon", :locals => {comp: comp.icon} if comp.icon %>
<%= expand_text(comp.text, markdown: comp.markdown) %>
<%= partial "components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} if comp.tooltip %>