このコミットが含まれているのは:
@@ -1,12 +1,14 @@
|
||||
import React from 'react'
|
||||
|
||||
import type { FC } from 'react'
|
||||
|
||||
type Props = { children: React.ReactNode
|
||||
checkBox?: { label: string
|
||||
checked: boolean
|
||||
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void } }
|
||||
|
||||
|
||||
export default ({ children, checkBox }: Props) => {
|
||||
const Label: FC<Props> = ({ children, checkBox }) => {
|
||||
if (!(checkBox))
|
||||
{
|
||||
return (
|
||||
@@ -26,3 +28,5 @@ export default ({ children, checkBox }: Props) => {
|
||||
</label>
|
||||
</div>)
|
||||
}
|
||||
|
||||
export default Label
|
||||
|
||||
新しい課題から参照
ユーザをブロックする