Skip to content

Commit

Permalink
fixup! feat: Initial implementation of the accordion XBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
xitij2000 committed Aug 7, 2024
1 parent e331b8a commit ec0cc59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion accordion/accordion.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
An XBlock for creating and accordion component with multiple panels with rich content.
"""

import importlib_resources
from django.utils import translation
from web_fragments.fragment import Fragment
from xblock.core import XBlock
from xblock.fields import Dict, List, Scope, String

try:
import importlib_resources
except ImportError:
from importlib import importlib_resources as importlib_resources


class AccordionXBlock(XBlock):
"""
Expand Down

0 comments on commit ec0cc59

Please sign in to comment.