We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b24c4cd commit 6e79b5aCopy full SHA for 6e79b5a
benchmarks/test_evaluate.py
@@ -2,28 +2,37 @@
2
from typing import cast
3
4
import pytest
5
+
6
import reflex as rx
7
8
9
class SideBarState(rx.State):
10
+ """State for the side bar."""
11
12
current_page: rx.Field[str] = rx.field("/")
13
14
15
@dataclass(frozen=True)
16
class SideBarPage:
17
+ """A page in the side bar."""
18
19
title: str
20
href: str
21
22
23
24
class SideBarSection:
25
+ """A section in the side bar."""
26
27
name: str
28
icon: str
29
pages: tuple[SideBarPage, ...]
30
31
32
33
class Category:
34
+ """A category in the side bar."""
35
36
37
38
sections: tuple[SideBarSection, ...]
0 commit comments