mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00

* feat: granular handling of class and style in {% html_attrs %} * refactor: fix linter errors * docs: document deprecation, fix typos, fix broken table of contents * refactor: remove classes and styles as lists from docs
21 lines
476 B
Text
21 lines
476 B
Text
# serializer version: 1
|
|
# name: test_render
|
|
'''
|
|
|
|
|
|
|
|
|
|
<a
|
|
href="https://example.com"
|
|
class="py-2 px-4 bg-blue-600 text-white hover:bg-blue-500 focus-visible:outline-blue-600 transition inline-flex w-full text-sm font-semibold sm:mt-0 sm:w-auto focus-visible:outline-2 focus-visible:outline-offset-2 px-3 justify-center rounded-md shadow-sm no-underline"
|
|
>
|
|
|
|
|
|
Click me!
|
|
|
|
|
|
</a>
|
|
|
|
|
|
'''
|
|
# ---
|