fix(striker-ui): center List empty text

main
Tsu-ba-me 2 years ago committed by digimer
parent 84fb75f5e1
commit 80fad36ad7
  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