Skip to content

Commit

Permalink
fix: export AppBar props
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Feb 2, 2025
1 parent b614c18 commit 2ff8f17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/docs/react/components/stackflow/app-screen.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ description: "이 문서는 정리 중이에요. 문의 내용은 #_design_core

<ReactTypeTable path="./registry/ui/app-bar.tsx" name="AppBarProps" />

### AppBarMain

<ReactTypeTable path="./registry/ui/app-bar.tsx" name="AppBarMainProps" />

## 예제

### Transparent app bar
Expand Down
6 changes: 6 additions & 0 deletions docs/registry/ui/app-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ import { useActions, useActivity } from "@stackflow/react";
import * as React from "react";
import { forwardRef } from "react";

export interface AppBarProps extends SeedAppBar.RootProps {}

export const AppBar = SeedAppBar.Root;

export interface AppBarLeftProps extends SeedAppBar.LeftProps {}

export const AppBarLeft = SeedAppBar.Left;

export interface AppBarRightProps extends SeedAppBar.RightProps {}

export const AppBarRight = SeedAppBar.Right;

export interface AppBarMainProps extends Omit<SeedAppBar.MainProps, "asChild"> {
Expand Down

0 comments on commit 2ff8f17

Please sign in to comment.