Skip to content

Commit

Permalink
fix(ci): ContentWithQuestionToken type definition should be correct
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Dec 14, 2024
1 parent f3bc49c commit 17bca6f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/ui/src/ContentWithQuestion/style/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type { CSSObject } from '@ant-design/cssinjs';
import type { FullToken, GenerateStyle } from '@oceanbase/design/es/theme';
import type { GenerateStyle } from '@oceanbase/design/es/theme';
import { genComponentStyleHook } from '../../_util/genComponentStyleHook';
import type { OBToken } from '../../_util/genComponentStyleHook';

export type ContentWithQuestionToken = FullToken<'App'>;
export type ContentWithQuestionToken = OBToken;

export const genContentWithQuestionStyle: GenerateStyle<any> = (
export const genContentWithQuestionStyle: GenerateStyle<ContentWithQuestionToken> = (
token: ContentWithQuestionToken
): CSSObject => {
const { componentCls } = token;
Expand Down

0 comments on commit 17bca6f

Please sign in to comment.