UNPKG

@conduction/components

Version:

React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)

19 lines (18 loc) 548 B
import * as React from "react"; import { IconPrefix, IconName } from "@fortawesome/fontawesome-svg-core"; interface DisplaySwitchProps { buttons: DisplaySwitchButtonProps[]; layoutClassName?: string; } interface DisplaySwitchButtonProps { label: string; pressed: boolean; handleClick: () => any; icon?: { name: IconName; prefix: IconPrefix; }; } export declare type IDisplaySwitchButton = DisplaySwitchButtonProps; declare const DisplaySwitch: React.FC<DisplaySwitchProps>; export default DisplaySwitch;