mirror of https://github.com/buster-so/buster.git
pass up
This commit is contained in:
parent
e423f1305a
commit
e9ea75398e
|
@ -39,8 +39,7 @@ export const CustomParagraph: React.FC<
|
||||||
className={cn(
|
className={cn(
|
||||||
'text-size-inherit!',
|
'text-size-inherit!',
|
||||||
showLoader && 'animate-in fade-in transition-none duration-700'
|
showLoader && 'animate-in fade-in transition-none duration-700'
|
||||||
)}
|
)}>
|
||||||
{...rest}>
|
|
||||||
{children}
|
{children}
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
@ -57,8 +56,7 @@ export const CustomParagraph: React.FC<
|
||||||
className={cn(
|
className={cn(
|
||||||
'text-size-inherit!',
|
'text-size-inherit!',
|
||||||
showLoader && 'animate-in fade-in transition-none duration-700'
|
showLoader && 'animate-in fade-in transition-none duration-700'
|
||||||
)}
|
)}>
|
||||||
{...rest}>
|
|
||||||
{children}
|
{children}
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
@ -94,8 +92,7 @@ export const CustomHeading: React.FC<
|
||||||
className={cn(
|
className={cn(
|
||||||
headingVariants({ level: stripFormatting ? 'base' : level }),
|
headingVariants({ level: stripFormatting ? 'base' : level }),
|
||||||
showLoader && 'animate-in fade-in transition-none duration-700'
|
showLoader && 'animate-in fade-in transition-none duration-700'
|
||||||
)}
|
)}>
|
||||||
{...rest}>
|
|
||||||
{children}
|
{children}
|
||||||
</HeadingTag>
|
</HeadingTag>
|
||||||
);
|
);
|
||||||
|
@ -192,9 +189,7 @@ export const CustomTable: React.FC<
|
||||||
} & ExtraPropsExtra
|
} & ExtraPropsExtra
|
||||||
> = ({ children, markdown, showLoader, ...rest }) => {
|
> = ({ children, markdown, showLoader, ...rest }) => {
|
||||||
return (
|
return (
|
||||||
<table
|
<table className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}>
|
||||||
className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}
|
|
||||||
{...rest}>
|
|
||||||
{children}
|
{children}
|
||||||
</table>
|
</table>
|
||||||
);
|
);
|
||||||
|
@ -208,9 +203,7 @@ export const CustomSpan: React.FC<
|
||||||
} & ExtraPropsExtra
|
} & ExtraPropsExtra
|
||||||
> = ({ children, markdown, showLoader, ...rest }) => {
|
> = ({ children, markdown, showLoader, ...rest }) => {
|
||||||
return (
|
return (
|
||||||
<span
|
<span className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}>
|
||||||
className={cn('', showLoader && 'animate-in fade-in transition-none duration-700')}
|
|
||||||
{...rest}>
|
|
||||||
{children}
|
{children}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
|
@ -44,6 +44,8 @@ export const useSelectedFile = ({
|
||||||
if (link) onChangePage(link);
|
if (link) onChangePage(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('handleFileCollapse', handleFileCollapse);
|
||||||
|
|
||||||
if (handleFileCollapse) {
|
if (handleFileCollapse) {
|
||||||
animateOpenSplitter('left');
|
animateOpenSplitter('left');
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue