myoperator-ui 0.0.81 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3202,6 +3202,8 @@ export interface PageHeaderProps
|
|
|
3202
3202
|
infoIcon?: React.ReactNode
|
|
3203
3203
|
/** Action buttons/elements rendered on the right side */
|
|
3204
3204
|
actions?: React.ReactNode
|
|
3205
|
+
/** Show bottom border (default: true) */
|
|
3206
|
+
showBorder?: boolean
|
|
3205
3207
|
}
|
|
3206
3208
|
|
|
3207
3209
|
const PageHeader = React.forwardRef<HTMLDivElement, PageHeaderProps>(
|
|
@@ -3214,6 +3216,7 @@ const PageHeader = React.forwardRef<HTMLDivElement, PageHeaderProps>(
|
|
|
3214
3216
|
onBackClick,
|
|
3215
3217
|
infoIcon,
|
|
3216
3218
|
actions,
|
|
3219
|
+
showBorder = true,
|
|
3217
3220
|
...props
|
|
3218
3221
|
}, ref) => {
|
|
3219
3222
|
// Determine what to show on the left: back button, icon, or nothing
|
|
@@ -3248,6 +3251,7 @@ const PageHeader = React.forwardRef<HTMLDivElement, PageHeaderProps>(
|
|
|
3248
3251
|
className={cn(
|
|
3249
3252
|
pageHeaderVariants(),
|
|
3250
3253
|
"h-[76px] px-4",
|
|
3254
|
+
showBorder && "border-b border-[#E4E4E4]",
|
|
3251
3255
|
className
|
|
3252
3256
|
)}
|
|
3253
3257
|
{...props}
|