refactor: Use top-level exports as public API (#562)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Juro Oravec 2024-08-03 08:30:39 +02:00 committed by GitHub
parent d819f3ff49
commit e771a0aaaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 615 additions and 598 deletions

View file

@ -2,11 +2,11 @@ from typing import Any, Dict
from django.http import HttpResponse
from django_components import component, types
from django_components import Component, register, types
@component.register("single_file_component")
class SingleFileComponent(component.Component):
@register("single_file_component")
class SingleFileComponent(Component):
template: types.django_html = """
<form method="post">
{% csrf_token %}