Skip to content

Commit

Permalink
fix: remove default param from provideShape
Browse files Browse the repository at this point in the history
  • Loading branch information
bre97-web committed Sep 5, 2024
1 parent 6f87f2c commit d27e7e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tokens/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<TShapeProviderConstructorParams>) => new ShapeProvider(param ?? {})

export const provideSizing = (params?: Partial<TSizingProviderConstructorParams>) => new SizingProvider(params ?? {})

Expand Down

0 comments on commit d27e7e9

Please sign in to comment.