mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
fc17fbe1ad
* Set up correct timer value for fetching new quotes * Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s) * Fix a UI issue with the notification close button * Make stx refresh rates optional, since not every network supports them |
||
---|---|---|
.. | ||
__snapshots__ | ||
countdown-timer.js | ||
countdown-timer.stories.js | ||
countdown-timer.test.js | ||
index.js | ||
index.scss | ||
README.mdx | ||
timer-icon.js | ||
timer-icon.test.js |
import { Story, Canvas, ArgsTable } from '@storybook/addon-docs'; import CountdownTimer from '.'; # CountdownTimer A CountdownTimer displays a timer that ticks down, communicating to the user the time left to perform some aciton. <Canvas> <Story id="ui-pages-swaps-countdown-timer-countdown-timer-stories-js--default-story" /> </Canvas> ## Component API <ArgsTable of={CountdownTimer} />