File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ const AsideModalV2: FC<AsideModalProps> = ({
102102 < Flex gap = "4" className = "flex-col" >
103103 < Flex gap = "2" alignItems = "center" justifyContent = "between" >
104104 { description && (
105- < Flex gap = "1" alignItems = "center" >
105+ < Flex gap = "1" alignItems = "center" className = "mr-12" >
106106 { description . icon && (
107107 < DynamicHeroIcon
108108 icon = { description . icon }
@@ -239,7 +239,11 @@ const AsideModalV2: FC<AsideModalProps> = ({
239239 { title }
240240 </ Text >
241241 { tagTitle && (
242- < Tag variant = { tagTitle . variant } text = { tagTitle . text } />
242+ < Tag
243+ variant = { tagTitle ?. variant }
244+ text = { tagTitle ?. text }
245+ fontSize = "small"
246+ />
243247 ) }
244248 </ Flex >
245249 < ShapeButton . CircleButton
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ const sampleButtons: ModalButton[] = [
3333 label : 'Cancel' ,
3434 variant : 'secondary' ,
3535 onClick : ( ) => console . log ( 'Cancel clicked' )
36- } ,
36+ } as ModalButton ,
3737 {
3838 label : 'Save' ,
3939 variant : 'primary' ,
4040 onClick : ( ) => console . log ( 'Save clicked' )
41- }
41+ } as ModalButton
4242]
4343
4444const Template : ComponentStory < typeof AsideModalComponent > = ( args ) => {
You can’t perform that action at this time.
0 commit comments