Skip to content

Heroicons syntax for table_opts #382

Answered by woylie
kuatroka asked this question in Q&A
Discussion options

You must be logged in to vote

Try this:

def table_opts do
  [
    symbol_asc: symbol_asc()
  ]
end

defp symbol_asc do
  assigns = %{}

  ~H"""
  <Heroicons.chevron_up />
  """
end

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kuatroka
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants