feat(stock): /stock/screener 페이지 골격 + hooks 4개 + 컴포넌트 stub 6개
This commit is contained in:
10
src/pages/stock/screener/components/GlobalControls.jsx
Normal file
10
src/pages/stock/screener/components/GlobalControls.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
export default function GlobalControls({ settings, setSettings, onRun, onSave, onPersist, dirty, running }) {
|
||||
return (
|
||||
<section className="screener-card">
|
||||
<h3>실행 옵션</h3>
|
||||
<button onClick={onRun} disabled={running}>{running ? '실행 중…' : '지금 실행 (미리보기)'}</button>
|
||||
<button onClick={onSave} disabled={running} style={{ marginTop: 8 }}>스냅샷 저장</button>
|
||||
<button onClick={onPersist} disabled={!dirty} style={{ marginTop: 8 }}>설정 저장</button>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user