...

/

Exercise: Build a Polymorphic Border Component

Exercise: Build a Polymorphic Border Component

Practice core concepts by building a polymorphic border component.

We'll cover the following...

This exercise will test your understanding of the core concepts in the course. You will build a Border polymorphic React component.

Usage

Here is the basic usage of the Border component you'll build:

Press + to interact
export const UserComponent = () => {
return (
<Border as="blockquote" color="blue" width={4} variant="solid">
Practice makes perfect
</Border>
);
};
...