UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

12 lines (11 loc) 428 B
import React from 'react'; import type { ComplexAction } from '../../types'; export interface SettingToggleProps { /** Inner content of the card */ children?: React.ReactNode; /** Card header actions */ action?: ComplexAction; /** Sets toggle state to activated or deactivated */ enabled?: boolean; } export declare function SettingToggle({ enabled, action, children }: SettingToggleProps): JSX.Element;