Module "wordpress-packages/customize/lib/components/contrastRatio"
Functions
Const ContrastRatio
- ContrastRatio(__namedParameters: { children: ((ratio: number) => any) | ((ratio: number) => any & string) | ((ratio: number) => any & number) | ((ratio: number) => any & false) | ((ratio: number) => any & true) | ((ratio: number) => any & ReactElement<any, string | ((props: P) => ReactElement<any, any> | null) | {}>) | ((ratio: number) => any & ReactNodeArray) | ((ratio: number) => any & ReactPortal); modifier: (color1: string, color2: string, value3: any, customize: ReturnType<typeof getSidebarCustomize>) => [string, string]; setting1: string; setting2: string; setting3: string }): any
-
Parameters
-
__namedParameters: { children: ((ratio: number) => any) | ((ratio: number) => any & string) | ((ratio: number) => any & number) | ((ratio: number) => any & false) | ((ratio: number) => any & true) | ((ratio: number) => any & ReactElement<any, string | ((props: P) => ReactElement<any, any> | null) | {}>) | ((ratio: number) => any & ReactNodeArray) | ((ratio: number) => any & ReactPortal); modifier: (color1: string, color2: string, value3: any, customize: ReturnType<typeof getSidebarCustomize>) => [string, string]; setting1: string; setting2: string; setting3: string }
-
children: ((ratio: number) => any) | ((ratio: number) => any & string) | ((ratio: number) => any & number) | ((ratio: number) => any & false) | ((ratio: number) => any & true) | ((ratio: number) => any & ReactElement<any, string | ((props: P) => ReactElement<any, any> | null) | {}>) | ((ratio: number) => any & ReactNodeArray) | ((ratio: number) => any & ReactPortal)
-
modifier: (color1: string, color2: string, value3: any, customize: ReturnType<typeof getSidebarCustomize>) => [string, string]
-
- (color1: string, color2: string, value3: any, customize: ReturnType<typeof getSidebarCustomize>): [string, string]
-
Parameters
-
color1: string
-
color2: string
-
value3: any
-
Returns [string, string]
-
setting1: string
-
setting2: string
-
setting3: string
Returns any