diff --git a/src/types.ts b/src/types.ts index 06b0a99..c1f9bbd 100644 --- a/src/types.ts +++ b/src/types.ts @@ -44,3 +44,10 @@ export interface ModifiersConfig { */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export type ComponentProps = StyledProps; + +/** +* An interface to extend in order to type component props +*/ +export interface WithModifiers { + modifiers?: ModifierKeys; +}