@first-team-339/ntcore-react
Version:
React bindings for ntcore-ts-client.
18 lines (17 loc) • 486 B
TypeScript
import React from "react";
export type IndicatorProps = {
value: boolean;
children?: React.ReactNode;
};
/**
* Basic indicator component that represents a boolean value.
*
* ---
*
* Styling is done using CSS variables:
*
* --team-primary-color: The color of the indicator when on
*
* --team-secondary-neutral-color: The color of the indicator when off
*/
export declare function Indicator({ value, children }: IndicatorProps): import("react/jsx-runtime").JSX.Element;