Links page.
Icons using npm package instead of svgs. Props and types. Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
8
src/types/props.ts
Normal file
8
src/types/props.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export interface ComponentProps {
|
||||
class?: string;
|
||||
title?: string;
|
||||
}
|
||||
|
||||
export interface LinkProps extends ComponentProps {
|
||||
href: string;
|
||||
}
|
Reference in New Issue
Block a user