MCPcopy Create free account
hub / github.com/AlariCode/top-app-demo / ButtonProps

Interface ButtonProps

components/Button/Button.props.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ButtonHTMLAttributes, DetailedHTMLProps, ReactNode } from 'react';
2
3export interface ButtonProps extends
4 Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>,
5 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag' | 'ref'> {
6 children: ReactNode;
7 appearance: 'primary' | 'ghost';
8 arrow?: 'right' | 'down' | 'none';
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected