Use Classnames syntax for showFirstRow classes augmentation

This commit is contained in:
Kuba Orlik 2024-07-28 15:16:48 +02:00
parent eb4f23d627
commit b8b5d6c449

View File

@ -40,7 +40,7 @@ export async function showFirstRow({
show_more_button: JSX.Element,
show_less_button: JSX.Element
) => JSX.Element;
classes?: string[];
classes?: classNames.ArgumentArray;
}): Promise<string> {
const id = showFirstRowIds.next().value;
const checkbox_id = "show-first-row__checkbox--" + id;