Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/factories/createStyleProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface StyleProviderProps
extends Partial<
Pick<
AntdStyleProviderProps,
'cache' | 'hashPriority' | 'ssrInline' | 'transformers' | 'linters'
'cache' | 'hashPriority' | 'ssrInline' | 'transformers' | 'linters' | 'layer'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better readability and easier maintenance, it's a good practice to keep the list of picked properties sorted alphabetically. This improves consistency and makes it easier to find a specific property in a long list.

Suggested change
'cache' | 'hashPriority' | 'ssrInline' | 'transformers' | 'linters' | 'layer'
'cache' | 'hashPriority' | 'layer' | 'linters' | 'ssrInline' | 'transformers'

>
> {
/**
Expand Down