mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-07-29 23:21:54 +00:00
Add more accessibility tests
This commit is contained in:
@@ -21,9 +21,10 @@ const ServerListItem = ({ id, name }: { id: string; name: string }) => (
|
||||
|
||||
export const ServersListGroup: FC<ServersListGroupProps> = ({ servers, children, embedded = false }) => (
|
||||
<>
|
||||
{children && <div className="mb-0 fs-5 fw-normal lh-sm">{children}</div>}
|
||||
{children && <div data-testid="title" className="mb-0 fs-5 fw-normal lh-sm">{children}</div>}
|
||||
{servers.length > 0 && (
|
||||
<ListGroup
|
||||
data-testid="list"
|
||||
tag="div"
|
||||
className={classNames('servers-list__list-group', { 'servers-list__list-group--embedded': embedded })}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user