xylabs/sdk-react

View on GitHub
packages/button/src/components/ButtonExProps.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { ButtonProps } from '@mui/material'
import { BoxlikeComponentProps, BusyProps } from '@xylabs/react-shared'
import type { NavigateOptions, To } from 'react-router-dom'

interface ButtonExProps extends Omit<ButtonProps, 'ref'>, BoxlikeComponentProps, BusyProps {
  target?: string
  to?: To
  toOptions?: NavigateOptions
}

export type { ButtonExProps }