File tree Expand file tree Collapse file tree
lib/components/DualScrollSync Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export type DualScrollSyncOptions = {
1818
1919export type DualScrollSyncItem = PropsWithChildren < DualScrollSyncOptions > ;
2020
21- export type DualScrollSyncProps = PropsWithChildren < {
21+ export type DualScrollSyncProps = PropsWithChildren < DualScrollSyncStyleProps > & {
2222 /**
2323 * Unique identifier for the DualScrollSync component. (Optional)
2424 * @default 'dual-scroll-sync'
@@ -41,7 +41,7 @@ export type DualScrollSyncProps = PropsWithChildren<{
4141 * @default () => {}
4242 */
4343 onItemClick ?: ( activeKey : string ) => void ;
44- } > ;
44+ } ;
4545
4646export type DualScrollSyncType = FC < DualScrollSyncProps > & {
4747 Nav : FC < DualScrollSyncNavProps > ;
Original file line number Diff line number Diff line change 11import type { PropsWithChildren } from 'react' ;
22
3- export type DualScrollSyncLabelProps = PropsWithChildren ;
3+ import type { DualScrollSyncStyleProps } from '../DualScrollSync.types' ;
4+
5+ export type DualScrollSyncLabelProps = PropsWithChildren < DualScrollSyncStyleProps > ;
You can’t perform that action at this time.
0 commit comments