@ehfuse/taskbox 0.5.395 → 0.5.397
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/LinkifiedText.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +23 -23
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +23 -23
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 평문 안의 URL(http/https)을 링크로 바꿔 그린다 — 댓글처럼 서식 없는 텍스트용(오토링크).
|
|
3
|
+
* 링크는 소비처 주입(openExternalUrl — 앱 웹뷰는 외부 브라우저) 우선, 없으면 새 탭으로 연다.
|
|
4
|
+
*/
|
|
5
|
+
/** 오토링크 텍스트 props 다. */
|
|
6
|
+
export interface LinkifiedTextProps {
|
|
7
|
+
text: string;
|
|
8
|
+
}
|
|
9
|
+
/** 평문 속 URL 을 링크로 바꿔 그리는 컴포넌트다. */
|
|
10
|
+
export declare function LinkifiedText({ text }: LinkifiedTextProps): import("react").JSX.Element;
|
package/dist/index.d.ts
CHANGED