Skip to content

Commit

Permalink
feat(sdk,mini-app): add bottomBarColor value in state. Set Background…
Browse files Browse the repository at this point in the history
…Color type for backgroundColor
  • Loading branch information
heyqbnk committed Oct 1, 2024
1 parent 8d40f8a commit ff20b41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/sdk/src/scopes/components/mini-app/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import type { HeaderColorKey, RGB } from '@telegram-apps/bridge';
import type { HeaderColorKey, BottomBarColor, RGB, BackgroundColor } from '@telegram-apps/bridge';

/**
* Mini App header color.
*/
export type HeaderColor = HeaderColorKey | RGB;

export interface State {
backgroundColor: RGB;
backgroundColor: BackgroundColor;
bottomBarColor: BottomBarColor;
headerColor: HeaderColor;
}

Expand Down

0 comments on commit ff20b41

Please sign in to comment.