mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Update VariantArgs interface to support inline variants added in styled-system v5.1.0 (#37634)
This commit is contained in:
committed by
Sheetal Nandi
parent
13368730e4
commit
47f0eec500
Vendored
+2
@@ -90,6 +90,8 @@ export interface VariantArgs {
|
||||
prop?: string;
|
||||
/** theme key for variant definitions */
|
||||
scale?: string;
|
||||
/** inline theme aware variants definitions */
|
||||
variants?: object;
|
||||
}
|
||||
|
||||
export function variant(props: VariantArgs): (...args: any[]) => any;
|
||||
|
||||
Reference in New Issue
Block a user