parent
2ec90b1ea3
commit
dabec3be7a
8 changed files with 0 additions and 51 deletions
@ -1,5 +0,0 @@ |
||||
import { NextApiHandler } from 'next'; |
||||
|
||||
declare type APIRouteHandlerMap = Readonly<{ |
||||
[httpMethod: string]: NextApiHandler; |
||||
}>; |
@ -1,4 +0,0 @@ |
||||
import { ImageProps } from 'next/image'; |
||||
|
||||
type ButtonImageProps = Omit<ImageProps, 'width' | 'height'> & |
||||
Partial<Pick<ImageProps, 'width' | 'height'>>; |
@ -1,11 +0,0 @@ |
||||
import { ButtonHTMLAttributes } from 'react'; |
||||
import { LinkProps } from 'next/link'; |
||||
|
||||
import { ButtonImageProps } from './ButtonImageProps'; |
||||
|
||||
type ButtonProps = { |
||||
imageProps?: ButtonImageProps; |
||||
isSubmit?: boolean; |
||||
labelProps?: LabelProps; |
||||
linkProps?: LinkProps; |
||||
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'>; |
@ -1,11 +0,0 @@ |
||||
import 'styled-components'; |
||||
|
||||
declare module 'styled-components' { |
||||
export type DefaultTheme = { |
||||
colors: { |
||||
primary: string; |
||||
secondary: string; |
||||
tertiary: string; |
||||
}; |
||||
}; |
||||
} |
@ -1,3 +0,0 @@ |
||||
type LabelProps = { |
||||
text: string; |
||||
}; |
@ -1,4 +0,0 @@ |
||||
type ListProps = { |
||||
isAlignHorizontal?: boolean; |
||||
labelText?: string; |
||||
}; |
@ -1,7 +0,0 @@ |
||||
import { AnchorHTMLAttributes } from 'react'; |
||||
import { LinkProps } from 'next/link'; |
||||
|
||||
type SimpleLinkProps = { |
||||
linkProps: Omit<LinkProps, 'passRef'>; |
||||
anchorProps?: AnchorHTMLAttributes<HTMLAnchorElement>; |
||||
}; |
@ -1,6 +0,0 @@ |
||||
import { InputHTMLAttributes } from 'react'; |
||||
|
||||
type ToggleSwitchProps = Pick< |
||||
InputHTMLAttributes<HTMLInputElement>, |
||||
'checked' | 'disabled' |
||||
>; |
Loading…
Reference in new issue