Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembler: Add interaction in the Pages screen #83501

Merged
merged 3 commits into from
Oct 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Typecheck
  • Loading branch information
taipeicoder committed Oct 26, 2023
commit 6c46ff7f4c704d52e74acf80ce388b5f2d7bfe60
Original file line number Diff line number Diff line change
@@ -144,7 +144,7 @@ const PatternAssembler = ( props: StepProps & NoticesProps ) => {
[ colorVariation, fontVariation ]
);

const [ pages, setPages ] = useState( [] );
const [ pages, setPages ] = useState< string[] >( [] );

const syncedGlobalStylesUserConfig = useSyncGlobalStylesUserConfig( selectedVariations );

Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@ import './page-list.scss';

interface PageListItemProps {
label: string;
isSelected: boolean;
isDisabled: boolean;
isSelected?: boolean;
isDisabled?: boolean;
}

const PageListItem = ( { label, isSelected, isDisabled }: PageListItemProps ) => {
Loading