@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
12 lines (11 loc) • 397 B
TypeScript
import * as React from 'react';
import { ComplexAction } from '../../types';
export interface Props {
/** Inner content of the card */
children?: React.ReactNode;
/** Card header actions */
action?: ComplexAction;
/** Sets toggle state to enabled or disabled */
enabled?: boolean;
}
export default function SettingToggle({ enabled, action, children }: Props): JSX.Element;