# Component/CopyText

## Props


| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `text` | `string` | Yes |  | 복사할 텍스트 내용 |
| `textProps` | `BaseTextProps | undefined` | No |  |  |
| `displayText` | `ReactNode` | No |  | 복사할 텍스트 내용을 대체할 노드 displayText가 있으면 text를 대체하여 보여지고, 실제 복사는 text 정보를 사용합니다. |
| `copiedText` | `string | undefined` | No | 복사했어요. | 복사 완료 시 표시할 텍스트 |
| `tooltipProps` | `Omit<TooltipProps, "children"> | undefined` | No |  |  |
| `disabled` | `boolean | undefined` | No | false |  |
| `className` | `string | undefined` | No |  |  |
| `onCopy` | `((text: string) => void) | undefined` | No |  | 복사 완료 시 호출되는 콜백 |
| `onCopyFailed` | `((error: Error) => void) | undefined` | No |  | 복사 실패 시 호출되는 콜백 |
