From d27e7e9cf8de47681d23e1d896ea2d9898a3165f Mon Sep 17 00:00:00 2001 From: bre97-web Date: Thu, 5 Sep 2024 16:49:08 +0800 Subject: [PATCH] fix: remove default param from provideShape --- src/tokens/provider.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tokens/provider.ts b/src/tokens/provider.ts index 3a3b564..37077d5 100644 --- a/src/tokens/provider.ts +++ b/src/tokens/provider.ts @@ -80,10 +80,7 @@ export const provideMotion = (params: TMotionProviderConstructorParams = { * } * ``` */ -export const provideShape = (param: TShapeProviderConstructorParams = { - prefix: 'md-sys-shape', - defaultUnit: '1', -}) => new ShapeProvider(param) +export const provideShape = (param?: Partial) => new ShapeProvider(param ?? {}) export const provideSizing = (params?: Partial) => new SizingProvider(params ?? {})