refactor: 템플릿에서 기본적으로 제공하고 있는 워크 플로우에 디자인과 라우팅 흡수
This commit is contained in:
@@ -62,6 +62,7 @@ export function SearchFilterToolbar({
|
||||
resetLabel,
|
||||
onReset,
|
||||
resultCount,
|
||||
className = "",
|
||||
}: Readonly<{
|
||||
label: string;
|
||||
search: React.ReactNode;
|
||||
@@ -69,9 +70,13 @@ export function SearchFilterToolbar({
|
||||
resetLabel: string;
|
||||
onReset(): void;
|
||||
resultCount: React.ReactNode;
|
||||
className?: string;
|
||||
}>) {
|
||||
return (
|
||||
<section aria-label={label} className="ui-search-filter-toolbar">
|
||||
<section
|
||||
aria-label={label}
|
||||
className={"ui-search-filter-toolbar " + className}
|
||||
>
|
||||
<div>{search}</div>
|
||||
{filters ? <div>{filters}</div> : null}
|
||||
<Button onClick={onReset} variant="ghost">
|
||||
|
||||
Reference in New Issue
Block a user