Add base logic to configure two factor on account

This commit is contained in:
Dane Everitt 2019-12-22 17:03:44 -08:00
parent edf27a5542
commit eb39826f46
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
15 changed files with 389 additions and 54 deletions

17
resources/scripts/style.d.ts vendored Normal file
View file

@ -0,0 +1,17 @@
import { Breakpoints, css, DefaultTheme, StyledProps } from 'styled-components';
declare module 'styled-components' {
type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export interface DefaultTheme {
breakpoints: {
[name in 'xs' | 'sm' | 'md' | 'lg' | 'xl']: number;
};
}
}
declare module 'styled-components-breakpoint' {
type CSSFunction = (...params: Parameters<typeof css>) => <P extends object>({ theme }: StyledProps<P>) => ReturnType<typeof css>;
export const breakpoint: (breakpointA: Breakpoints, breakpointB?: Breakpoints) => CSSFunction;
}