Skip to content

Commit

Permalink
chore(): modify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanleehao committed Nov 1, 2023
1 parent 041db0d commit 1045491
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/design/src/message/demo/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Button, ConfigProvider, message, Space } from '@oceanbase/design';
import { Button, ConfigProvider, message, Space, theme } from '@oceanbase/design';

export default () => {
// 在应用外围包裹一次 ConfigProvider 即可
return (
<ConfigProvider>
<ConfigProvider theme={theme}>

Check failure on line 6 in packages/design/src/message/demo/basic.tsx

View workflow job for this annotation

GitHub Actions / build (16.x, ubuntu-latest)

Type '{ defaultSeed: { colorPrimary: string; colorInfo: string; colorSuccess: string; colorWarning: string; colorError: string; borderRadius: number; blue: string; green: string; yellow: string; red: string; ... 35 more ...; gold: string; }; ... 6 more ...; getDesignToken: (config?: ThemeConfig) => AliasToken; }' is not assignable to type 'ThemeConfig'.

Check failure on line 6 in packages/design/src/message/demo/basic.tsx

View workflow job for this annotation

GitHub Actions / build (16.x, ubuntu-latest)

Type '{ defaultSeed: { colorPrimary: string; colorInfo: string; colorSuccess: string; colorWarning: string; colorError: string; borderRadius: number; blue: string; green: string; yellow: string; red: string; ... 35 more ...; gold: string; }; ... 6 more ...; getDesignToken: (config?: ThemeConfig) => AliasToken; }' is not assignable to type 'ThemeConfig'.
<Space>
<Button
onClick={() => {
Expand Down
4 changes: 2 additions & 2 deletions packages/design/src/notification/demo/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import { Button, ConfigProvider, notification, Space } from '@oceanbase/design';
import { Button, ConfigProvider, notification, Space, theme } from '@oceanbase/design';

export default () => {
// 在应用外围包裹一次 ConfigProvider 即可
return (
<ConfigProvider>
<ConfigProvider theme={theme}>

Check failure on line 7 in packages/design/src/notification/demo/basic.tsx

View workflow job for this annotation

GitHub Actions / build (16.x, ubuntu-latest)

Type '{ defaultSeed: { colorPrimary: string; colorInfo: string; colorSuccess: string; colorWarning: string; colorError: string; borderRadius: number; blue: string; green: string; yellow: string; red: string; ... 35 more ...; gold: string; }; ... 6 more ...; getDesignToken: (config?: ThemeConfig) => AliasToken; }' is not assignable to type 'ThemeConfig'.

Check failure on line 7 in packages/design/src/notification/demo/basic.tsx

View workflow job for this annotation

GitHub Actions / build (16.x, ubuntu-latest)

Type '{ defaultSeed: { colorPrimary: string; colorInfo: string; colorSuccess: string; colorWarning: string; colorError: string; borderRadius: number; blue: string; green: string; yellow: string; red: string; ... 35 more ...; gold: string; }; ... 6 more ...; getDesignToken: (config?: ThemeConfig) => AliasToken; }' is not assignable to type 'ThemeConfig'.
<Space>
<Button
onClick={() => {
Expand Down

0 comments on commit 1045491

Please sign in to comment.