сверстан контейнер после нажатия на кнопку Начать новую демонстрацию
This commit is contained in:
@@ -6,6 +6,7 @@ type TProps = {
|
||||
onClickButton: () => void
|
||||
titleText?: string
|
||||
descriptText: string
|
||||
accessCode?: string
|
||||
}
|
||||
|
||||
export const ContentContainer:React.FC<TProps> = React.memo((props) => {
|
||||
@@ -19,6 +20,10 @@ export const ContentContainer:React.FC<TProps> = React.memo((props) => {
|
||||
<span className="main-part-text-descript">
|
||||
{props.descriptText}
|
||||
</span>
|
||||
{
|
||||
props.accessCode &&
|
||||
<span className="main-part-text-access-code">{props.accessCode}</span>
|
||||
}
|
||||
<PinkButton
|
||||
onClick={props.onClickButton}
|
||||
textButton={props.textButton}
|
||||
|
||||
Reference in New Issue
Block a user