| _Stocks.scss |
|
16649 |
- |
| Stocks.jsx |
|
25093 |
- |
| StockSearch.jsx |
The ticker search panel: search for a symbol and add a result to the
watchlist. The parent owns the search status and results.
@param {object} props
@param {string} props.searchStatus Current state: "idle", "loading", "success", "empty", or "error".
@param {object[]} props.searchResults Matches returned by a successful search: ticker, name, exchange.
@param {string[]} props.savedSymbols The user's watchlist, to mark added rows.
@param {boolean} props.atWatchlistLimit Whether the watchlist is full.
@param {function(string): void} props.onSubmit Called with a non-empty search query.
@param {function(string, string): void} props.onAdd Called with a result's ticker symbol and display name.
@param {function(): void} props.onClose Called when the user closes the panel.
|
5468 |
- |
| StocksError.jsx |
|
1362 |
- |
| StockTicker.jsx |
|
8438 |
- |
| useStockSearch.jsx |
Focus a moz-button that may have just been created. Its inner button only
exists after its first render, and focus() on the host does nothing before
that, so wait for the render when there is one to wait for.
@param {HTMLElement|null} el
|
3756 |
- |