fix(striker-ui): center List empty text

main
Tsu-ba-me 2 years ago
parent ddb1cd61f1
commit 28ff0c79bd
  1. 2
      striker-ui/components/List.tsx

@ -176,7 +176,7 @@ const List = forwardRef(
const listEmptyElement = useMemo(
() =>
typeof listEmpty === 'string' ? (
<BodyText>{listEmpty}</BodyText>
<BodyText align="center">{listEmpty}</BodyText>
) : (
listEmpty
),

Loading…
Cancel
Save