How define a generic component in react typeScript

Using <T,> we don’t need set default Prop

interface IProps<T> {
  title: T
}

export const BaseTable = <T,>({ title }: IProps<T>) => {}