nunomaduro / termwind

🍃 In short, it's like Tailwind CSS, but for the PHP command-line applications.
MIT License
2.29k stars 78 forks source link

Implement anchor element #27

Closed sebdesign closed 3 years ago

sebdesign commented 3 years ago

This PR adds an Anchor component and an a() function to render clickable hyperlinks.

// Adds a hyperlink
a('https://github.com/nunomaduro/termwind');

// Adds a hyperlink with text value
a('Termwind')->href('https://github.com/nunomaduro/termwind');