2021-01-05 19:26:08 +07:00
|
|
|
[
|
|
|
|
|
(jsx_fragment)
|
|
|
|
|
(jsx_element)
|
|
|
|
|
(jsx_self_closing_element)
|
2023-01-04 01:57:40 +09:00
|
|
|
(jsx_expression)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2021-01-05 19:26:08 +07:00
|
|
|
|
2023-01-04 01:57:40 +09:00
|
|
|
(jsx_fragment
|
2023-03-20 14:44:39 -07:00
|
|
|
("<" ">" (_) "<" @indent.branch "/" ">" @indent.end)
|
2023-01-04 01:57:40 +09:00
|
|
|
)
|
|
|
|
|
|
2023-03-20 14:44:39 -07:00
|
|
|
(jsx_closing_element (">" @indent.end))
|
|
|
|
|
(jsx_self_closing_element ">" @indent.end)
|
2021-03-13 00:42:38 +01:00
|
|
|
|
2021-01-05 19:26:08 +07:00
|
|
|
[
|
|
|
|
|
(jsx_closing_element)
|
|
|
|
|
">"
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.branch
|
2023-01-04 01:57:40 +09:00
|
|
|
; <button
|
|
|
|
|
; />
|
2023-03-20 14:44:39 -07:00
|
|
|
(jsx_self_closing_element "/" @indent.branch)
|