@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
19 lines (16 loc) • 422 B
text/typescript
/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
import { PropsWithChildren } from 'react';
import { ButtonProps } from '../../buttons';
export type SwitchProps = PropsWithChildren<
ButtonProps & {
value?: boolean;
onChange?: () => void;
disabled?: boolean;
defaultValue?: boolean;
}
>;