このコミットが含まれているのは:
2025-08-24 05:53:25 +09:00
コミット 32622f8119
3個のファイルの変更44行の追加19行の削除
+21
ファイルの表示
@@ -0,0 +1,21 @@
import type { FC } from 'react'
type Props = {
userId: string
statusId: string }
export default (({ userId, statusId }: Props) => {
const now = (new Date).toLocaleDateString ()
return (
<div>
<blockquote className="twitter-tweet">
<p lang="ja" dir="ltr">
Loading...
</p>
<a href={`https://twitter.com/${ userId }?ref_src=twsrc%3Etfw`}>@{userId}</a> <a href={`https://twitter.com/${ userId }/status/${ statusId }?ref_src=twsrc%5Etfw`}>{now}</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charSet="utf-8"/>
</div>)
}) satisfies FC<Props>
+1 -8
ファイルの表示
@@ -1,13 +1,6 @@
import type { ReactNode } from 'react'
<<<<<<< Updated upstream
import type { FC } from 'react'
type Props = { children: React.ReactNode }
=======
import type { FC, ReactNode } from 'react'
type Props = { children: ReactNode }
>>>>>>> Stashed changes
export default (({ children }: Props) => (