Exported some specific component types and improved spacing in short URLs list

This commit is contained in:
Alejandro Celaya
2022-12-18 10:12:34 +01:00
parent f4cf4850a3
commit 90837546ab
9 changed files with 33 additions and 22 deletions

View File

@@ -12,7 +12,7 @@ import { ShortUrlVisitsCount } from './ShortUrlVisitsCount';
import { ShortUrlsRowMenuProps } from './ShortUrlsRowMenu';
import './ShortUrlsRow.scss';
export interface ShortUrlsRowProps {
interface ShortUrlsRowProps {
onTagClick?: (tag: string) => void;
selectedServer: SelectedServer;
shortUrl: ShortUrl;
@@ -89,3 +89,5 @@ export const ShortUrlsRow = (
</tr>
);
};
export type ShortUrlsRowType = ReturnType<typeof ShortUrlsRow>;