Ready to get started?

Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.

robot mascot smiling

Adding Conditional Icon, Headline, and Message Content

In This Lesson

We'll make our alert's icon, headline, and message completely optional. We'll also allow our icon to be provided via slot and our headline and message via prop or slot.

Created by
@tomgobich
Published

Now that we have our variants out of the way, let’s focus on adding the content options for our alert which will enable us to provide our own:

  • Icon

  • Headline

  • Message

Icon Content

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!