aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/lists/ListItem.tsx
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2023-07-19 10:33:16 +0200
committersonartech <sonartech@sonarsource.com>2023-07-21 20:03:16 +0000
commite95c3702319d1818faabf0aeba569f14f8cc6ccf (patch)
treee574793c776f77e5e00c5cb46eaae3e2e5bbc9be /server/sonar-web/design-system/src/components/lists/ListItem.tsx
parent6d3df8433363e14c9dbd3bf7cec0a27a72f85a00 (diff)
downloadsonarqube-e95c3702319d1818faabf0aeba569f14f8cc6ccf.tar.gz
sonarqube-e95c3702319d1818faabf0aeba569f14f8cc6ccf.zip
SONAR-19907 New OrderedList component
Diffstat (limited to 'server/sonar-web/design-system/src/components/lists/ListItem.tsx')
-rw-r--r--server/sonar-web/design-system/src/components/lists/ListItem.tsx28
1 files changed, 28 insertions, 0 deletions
diff --git a/server/sonar-web/design-system/src/components/lists/ListItem.tsx b/server/sonar-web/design-system/src/components/lists/ListItem.tsx
new file mode 100644
index 00000000000..27d2df7e78e
--- /dev/null
+++ b/server/sonar-web/design-system/src/components/lists/ListItem.tsx
@@ -0,0 +1,28 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2023 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+import styled from '@emotion/styled';
+import tw from 'twin.macro';
+
+export const ListItem = styled.li`
+ ${tw`sw-my-3`}
+`;
+
+ListItem.displayName = 'ListItem';