UNPKG

react-carousel-query

Version:

A infinite carousel component made with react that handles the pagination for you.

10 lines (9 loc) 2.46 kB
import { ToolbarItem } from '../types'; interface GetSelectedItemProps { currentValue: string | null; items: ToolbarItem[]; } export declare const getSelectedItem: ({ currentValue, items }: GetSelectedItemProps) => ToolbarItem; export declare const getSelectedIcon: ({ currentValue, items }: GetSelectedItemProps) => "search" | "link" | "playback" | "add" | "user" | "camera" | "speaker" | "medium" | "button" | "form" | "menu" | "time" | "video" | "circle" | "filter" | "stop" | "close" | "play" | "copy" | "sync" | "document" | "memory" | "ellipsis" | "collapse" | "grid" | "subtract" | "zoom" | "outline" | "cross" | "key" | "alert" | "timer" | "email" | "location" | "component" | "back" | "download" | "info" | "sidebar" | "graphql" | "check" | "mobile" | "watch" | "tablet" | "browser" | "sidebaralt" | "bottombar" | "useralt" | "useradd" | "users" | "profile" | "bookmark" | "bookmarkhollow" | "book" | "repository" | "star" | "starhollow" | "circlehollow" | "heart" | "hearthollow" | "facehappy" | "facesad" | "faceneutral" | "lock" | "unlock" | "arrowleftalt" | "arrowrightalt" | "reply" | "undo" | "transfer" | "redirect" | "expand" | "expandalt" | "grow" | "arrowleft" | "arrowup" | "arrowdown" | "arrowright" | "chevrondown" | "upload" | "proceed" | "question" | "support" | "bell" | "rss" | "edit" | "paintbrush" | "closeAlt" | "trash" | "delete" | "plus" | "folder" | "calendar" | "graphline" | "docchart" | "doclist" | "category" | "certificate" | "print" | "listunordered" | "graphbar" | "cog" | "wrench" | "nut" | "eye" | "eyeclose" | "photo" | "phone" | "flag" | "pin" | "compass" | "globe" | "zoomout" | "zoomreset" | "lightning" | "lightningoff" | "dashboard" | "hourglass" | "playnext" | "stopalt" | "rewind" | "fastforward" | "paperclip" | "box" | "structure" | "cpu" | "database" | "power" | "outbox" | "share" | "batchaccept" | "batchdeny" | "home" | "admin" | "paragraph" | "basket" | "credit" | "shield" | "beaker" | "thumbsup" | "mirror" | "switchalt" | "commit" | "branch" | "merge" | "pullrequest" | "chromatic" | "twitter" | "google" | "gdrive" | "youtube" | "facebook" | "redux" | "github" | "bitbucket" | "gitlab" | "azuredevops" | "discord" | "contrast" | "unfold" | "sharealt" | "accessibility" | "accessibilityalt" | "markup" | "verified" | "comment" | "commentadd" | "requestchange" | "comments" | "ruler"; export declare const getSelectedTitle: ({ currentValue, items }: GetSelectedItemProps) => string; export {};