Story settings modal copy and design changes

This commit is contained in:
Jamie Kyle 2022-10-26 16:17:39 -07:00 committed by GitHub
parent 7f0a66847b
commit 5ccfabeb0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 295 additions and 93 deletions

View file

@ -12,6 +12,7 @@ export type PropsType = {
id: string;
checkboxNode: JSX.Element;
labelNode: JSX.Element;
checked?: boolean;
}) => JSX.Element;
description?: string;
disabled?: boolean;
@ -65,7 +66,7 @@ export const Checkbox = ({
<div className={getClassName('')}>
<div className={getClassName('__container')}>
{children ? (
children({ id, checkboxNode, labelNode })
children({ id, checkboxNode, labelNode, checked })
) : (
<>
{checkboxNode}