We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59712a3 commit b40b41fCopy full SHA for b40b41f
libs/rnc-theme/src/lib/components/ui/button/index.tsx
@@ -496,6 +496,14 @@ const Button = forwardRef<ButtonRef, ButtonProps>(
496
...styles[size],
497
borderRadius: theme.components.borderRadius[borderRadius],
498
...(fullWidth && { width: '100%' }),
499
+ // Tambahkan kondisi untuk ghost variant
500
+ ...(variant === 'ghost' && {
501
+ paddingHorizontal: 0,
502
+ paddingVertical: 0,
503
+ paddingTop: 0,
504
+ paddingBottom: 0,
505
+ minHeight: 0,
506
+ }),
507
...(style as ViewStyle),
508
}),
509
[
0 commit comments