aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/jsx/element_attributes.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/jsx/element_attributes.jsx')
-rw-r--r--tests/indent/jsx/element_attributes.jsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/indent/jsx/element_attributes.jsx b/tests/indent/jsx/element_attributes.jsx
new file mode 100644
index 000000000..45aeeacca
--- /dev/null
+++ b/tests/indent/jsx/element_attributes.jsx
@@ -0,0 +1,18 @@
+export default function Home() {
+ return (
+ <>
+ <Button
+ style={{
+ color: 'blue',
+ }}
+ disabled
+ >
+ </Button>
+ <Button
+ style={{
+ color: 'blue',
+ }}
+ />
+ </>
+ )
+}