mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
* 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
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} />