Skip to content

Commit c05bbd0

Browse files
committed
fix: self review
1 parent 35b5e08 commit c05bbd0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Shared/Components/InfoBlock/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type InfoBlockProps = {
1313
*/
1414
variant?: 'error' | 'help' | 'information' | 'success' | 'warning'
1515
/**
16-
* @default ComponentSizeType.medium
16+
* @default ComponentSizeType.large
1717
*/
1818
size?: Extract<ComponentSizeType, ComponentSizeType.large | ComponentSizeType.medium>
1919
/**

src/Shared/Helpers.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,12 +1044,10 @@ const getSanitizedBorderConfig = (borderConfig: BorderConfigType = {}): BorderCo
10441044

10451045
export const deriveBorderRadiusClassFromConfig = (borderRadiusConfig: BorderConfigType = {}): string => {
10461046
const { top, right, bottom, left } = getSanitizedBorderConfig(borderRadiusConfig)
1047-
10481047
return `${!top ? 'dc__no-top-radius' : ''} ${!right ? 'dc__no-right-radius' : ''} ${!bottom ? 'dc__no-bottom-radius' : ''} ${!left ? 'dc__no-left-radius' : ''}`
10491048
}
10501049

10511050
export const deriveBorderClassFromConfig = (borderConfig: BorderConfigType = {}): string => {
10521051
const { top, right, bottom, left } = getSanitizedBorderConfig(borderConfig)
1053-
10541052
return `${!top ? 'dc__no-border-top-imp' : ''} ${!right ? 'dc__no-border-right-imp' : ''} ${!bottom ? 'dc__no-border-bottom-imp' : ''} ${!left ? 'dc__no-border-left-imp' : ''}`
10551053
}

0 commit comments

Comments
 (0)