mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 02:55:56 +01:00
16 lines
328 B
TypeScript
16 lines
328 B
TypeScript
|
|
import { FC } from "react";
|
||
|
|
|
||
|
|
export type ProtocolLinkRendererProps = {
|
||
|
|
protocol: string;
|
||
|
|
href: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
export type ProtocolLinkRendererExtension = {
|
||
|
|
protocol: string;
|
||
|
|
renderer: FC<ProtocolLinkRendererProps>;
|
||
|
|
};
|
||
|
|
|
||
|
|
export type ProtocolLinkRendererExtensionMap = {
|
||
|
|
[protocol: string]: FC<ProtocolLinkRendererProps>;
|
||
|
|
}
|