refactor(banners): ♻️ rename config param to

`libConfig`
This commit is contained in:
Guz013
2023-06-23 13:13:19 -03:00
parent 7e97986236
commit 950c6cbe89
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export default async function banner({
title,
subtitle = '',
layout = 'horizontal',
config,
libConfig: config,
}) {
if (layout === 'horizontal') {
title = truncateText(title, 45);

View File

@@ -15,7 +15,7 @@ export interface BannerOptions {
title: string,
subtitle?: string,
layout?: 'horizontal' | 'vertical' = 'horizontal',
config?: {
libConfig?: {
reader?: Reader,
}
}