Sha256: 040a04b43f21c10fb39c598b20a21e0d7a2ebc2d7e006586cad4d534764890cf

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

import React from 'react';
import type { InputCallback } from '../types';
import { GlobalProps } from '../utilities/globalProps';
declare type Props = {
    aria?: {
        [key: string]: string;
    };
    checked?: boolean;
    children?: React.ReactNode | React.ReactNode[];
    className?: string;
    data?: {
        [key: string]: string;
    };
    id?: string;
    name?: string;
    onChange?: InputCallback<HTMLInputElement>;
    size?: "sm" | "md";
    value?: string;
} & GlobalProps;
declare const Toggle: ({ aria, checked, children, className, data, id, name, onChange, size, value, ...props }: Props) => JSX.Element;
export default Toggle;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 app/pb_kits/playbook/pb_toggle/_toggle.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_toggle/_toggle.d.ts