UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

13 lines (12 loc) 479 B
import React from 'react'; import { 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; //# sourceMappingURL=SettingToggle.d.ts.map