mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-29 11:33:46 +02:00
Add base logic to configure two factor on account
This commit is contained in:
17
resources/scripts/style.d.ts
vendored
Normal file
17
resources/scripts/style.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user