juny-react-style / Exports
- AlertProps
- AlertWrapProps
- GithubCommentProps
- GithubReplyProps
- MacContainerProps
- SearchBarProps
- TreeItemProps
- TreeListProps
- Alert
- AlertContainer
- AlertItem
- AlertWrap
- AlignBox
- BetweenContainer
- CustomTheme
- DarkAndLightModeButton
- GithubComment
- GithubProfile
- GithubReply
- HeadText
- LeftRightContainer
- Link
- List
- ListItem
- MacContainer
- MacContainerHeader
- MacMenuBar
- MacMenuBarItem
- MarginBox
- Profile
- Screen
- SearchBar
- SearchModal
- Spinner
- StyleThemeContextProvider
- StyleThemeProvider
- StyledAlert
- TextBox
- TextOverFlow
- TreeHeader
- TreeItem
- TreeList
- useTheme
Renames and re-exports LeftRightContainer
Ƭ ActiveModeType: typeof ActiveMode
[keyof typeof ActiveMode
]
src/component/GithubComment/GithubComment.type.ts:18
Ƭ CursorType: "default"
| "pointer"
| "crosshair"
| "text"
| "move"
| "wait"
| "help"
| "not-allowed"
| "progress"
| "context-menu"
| "cell"
| "vertical-text"
| "alias"
| "copy"
| "no-drop"
| "grab"
| "grabbing"
| "all-scroll"
| "zoom-in"
| "zoom-out"
src/component/index.types.ts:12
Ƭ IntrinsicElementsDiv: React.DetailedHTMLProps
<React.HTMLAttributes
<HTMLDivElement
>, HTMLDivElement
>
src/component/index.types.ts:10
Ƭ cornersType: "sm"
| "md"
| "lg"
| "full"
src/component/index.types.ts:3
Ƭ lefetOrRightOrTopOrBottom: "left"
| "right"
| "top"
| "bottom"
src/component/index.types.ts:8
Ƭ radius: "sm"
| "md"
| "lg"
| "full"
src/component/index.types.ts:7
Ƭ size: number
src/component/index.types.ts:4
• Const
ActiveMode: Object
Name | Type |
---|---|
PREVIEW |
"preivew" |
WRITE |
"write" |
src/component/GithubComment/GithubComment.type.ts:13
• Const
DarkTheme: ThemeType
src/component/StyleThemeProvider/DarkTheme.ts:3
• Const
LightTheme: ThemeType
src/component/StyleThemeProvider/LightTheme.ts:3
▸ Alert(props
, context?
): ReactNode
Name | Type |
---|---|
props |
AlertProps |
context? |
any |
ReactNode
src/component/Alert/Alert.tsx:156
▸ AlertContainer(props
, context?
): ReactNode
Name | Type |
---|---|
props |
Object |
props.children? |
ReactNode |
context? |
any |
ReactNode
src/component/Alert/AlertContainer.tsx:14
▸ AlertItem<AsTarget
, ForwardedAsTarget
>(props
): Element
Name | Type |
---|---|
AsTarget |
extends void | WebTarget = void |
ForwardedAsTarget |
extends void | WebTarget = void |
Name | Type |
---|---|
props |
PolymorphicComponentProps <"web" , Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, { $backgroundColor? : string ; $isExiting? : boolean ; level : undefined | "default" | "primary" | "secondary" | "info" | "success" | "danger" | "warning" ; theme : DefaultTheme | default }>, AsTarget , ForwardedAsTarget , AsTarget extends KnownTarget ? ComponentPropsWithRef <AsTarget <AsTarget >> : {}, ForwardedAsTarget extends KnownTarget ? ComponentPropsWithRef <ForwardedAsTarget <ForwardedAsTarget >> : {}> |
Element
src/component/Alert/Alert.tsx:141
▸ AlertItem(props
): ReactNode
Name | Type |
---|---|
props |
Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, { $backgroundColor? : string ; $isExiting? : boolean ; level : undefined | "default" | "primary" | "secondary" | "info" | "success" | "danger" | "warning" ; theme : DefaultTheme | default }> |
ReactNode
src/component/Alert/Alert.tsx:141
▸ AlertWrap(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
AlertWrapProps |
Element
src/component/AlertWrap/AlertWrap.tsx:4
▸ AlignBox(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
AlignBoxProps |
Element
Example
<AlignBox
align={'left'}
>
<div>left</div>
</AlignBox>
src/component/alignBox/AlignBox.tsx:30
▸ BetweenContainer(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
BetweenContainerProps |
Element
src/component/BetweenContainer/BetweenContainer.tsx:31
▸ CustomTheme(theme
): default
Name | Type |
---|---|
theme |
default |
default
src/component/StyleThemeProvider/CustomTheme.ts:4
▸ DarkAndLightModeButton(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
DarkAndLightModeButtonProps |
Element
src/component/DarkAndLightModeButton/DarkAndLightModeButton.tsx:42
▸ GithubComment(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
GithubCommentProps |
Element
src/component/GithubComment/GithubComment.tsx:99
▸ GithubProfile(props
): Element
Name | Type |
---|---|
props |
GithubProfileProps |
Element
Example
<GithubProfile
gitPersonalAccessToken={"ghp~###"}
/>
</GithubProfile>
src/component/githubProfile/GithubProfile.tsx:23
▸ GithubReply(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
GithubReplyProps |
Element
src/component/GithubReply/GithubReply.tsx:52
▸ HeadText(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
HeadTextProps |
Element
src/component/utills/HeadText.tsx:20
▸ LeftRightContainer(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
LeftRightLayoutProps |
Element
Example
<LeftRightContainer
ratio={0.3}
>
<div>
left content
</div>
<div>
right content
</div>
</LeftRightContainer>
src/component/leftRightContainer/LeftRightContainer.tsx:42
▸ Link(props
): Element
Name | Type |
---|---|
props |
LinkProps |
Element
Example
<Link
href="https://juny.vercel.app"
/>
src/component/link/Link.tsx:33
▸ List(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
ListProps |
Element
src/component/list/List.tsx:41
▸ ListItem(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
ListItemProps |
Element
src/component/list/List.item.tsx:28
▸ MacContainer(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
MacContainerProps |
Element
Example
import { MacContainer } from "juny-react-style";
<MacContainer><div>children</div></MacContainer>
src/component/macContainer/MacContainer.tsx:54
▸ MacContainerHeader(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
MacContainerHeaderProps |
Element
src/component/macContainer/MacContainerHeader.tsx:44
▸ MacMenuBar(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
MacMenuBarProps |
Element
src/component/MacMenuBar/MacMenuBar.tsx:29
▸ MacMenuBarItem(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
MacMenuBarItemProps |
Element
src/component/MacMenuBar/MacMenuBarItem.tsx:69
▸ MarginBox(props
): Element
Name | Type |
---|---|
props |
MarginBoxProps |
Element
Example
<MarginBox
bottom={"1px"}
top={"1px"}
right={"1px"}
left={"1px"}
>
<div>foo</div>
<MarginBox>
src/component/marginBox/MarginBox.tsx:28
▸ Profile(props
): Element
The Profile component is used to display user profile information. ProfileProps defines the properties that can be passed to the Profile component.
Name | Type | Description |
---|---|---|
props |
ProfileProps |
The properties passed to the Profile component |
Element
The Profile component
src/component/profile/Profile.tsx:51
▸ Screen(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
ScreenProps |
Element
src/component/screen/Screen.tsx:35
▸ SearchBar(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
SearchBarProps |
Element
src/component/SearchBar/search-bar.tsx:62
▸ SearchModal(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
SearchModalProps |
Element
src/component/SearchModal/search-modal.tsx:12
▸ Spinner(props
): Element
Name | Type |
---|---|
props |
SpinnerProps |
Element
<Spinner width={"10px"} height={"10px"} />
src/component/spinner/Spinner.tsx:35
▸ StyleThemeContextProvider(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
Object |
› children |
ReactNode |
Element
src/component/StyleThemeProvider/StyleThemeContextProvider.tsx:5
▸ StyleThemeProvider(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
StyleThemeProviderProps |
Element
src/component/StyleThemeProvider/StyleThemeProvider.tsx:6
▸ StyledAlert<AsTarget
, ForwardedAsTarget
>(props
): Element
Name | Type |
---|---|
AsTarget |
extends void | WebTarget = void |
ForwardedAsTarget |
extends void | WebTarget = void |
Name | Type |
---|---|
props |
PolymorphicComponentProps <"web" , Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, StyledAlertProps >, AsTarget , ForwardedAsTarget , AsTarget extends KnownTarget ? ComponentPropsWithRef <AsTarget <AsTarget >> : {}, ForwardedAsTarget extends KnownTarget ? ComponentPropsWithRef <ForwardedAsTarget <ForwardedAsTarget >> : {}> |
Element
src/component/Alert/Alert.tsx:92
▸ StyledAlert(props
): ReactNode
Name | Type |
---|---|
props |
Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, StyledAlertProps > |
ReactNode
src/component/Alert/Alert.tsx:92
▸ TextBox<AsTarget
, ForwardedAsTarget
>(props
): Element
Name | Type |
---|---|
AsTarget |
extends void | WebTarget = void |
ForwardedAsTarget |
extends void | WebTarget = void |
Name | Type |
---|---|
props |
PolymorphicComponentProps <"web" , Substitute <DetailedHTMLProps <HTMLAttributes <HTMLSpanElement >, HTMLSpanElement >, TextBoxWrapProps >, AsTarget , ForwardedAsTarget , AsTarget extends KnownTarget ? ComponentPropsWithRef <AsTarget <AsTarget >> : {}, ForwardedAsTarget extends KnownTarget ? ComponentPropsWithRef <ForwardedAsTarget <ForwardedAsTarget >> : {}> |
Element
src/component/utills/TextBox.tsx:16
▸ TextBox(props
): ReactNode
Name | Type |
---|---|
props |
Substitute <DetailedHTMLProps <HTMLAttributes <HTMLSpanElement >, HTMLSpanElement >, TextBoxWrapProps > |
ReactNode
src/component/utills/TextBox.tsx:16
▸ TextOverFlow(props
): Element
Name | Type |
---|---|
props |
TextOverFlowProps |
Element
Example
<TextOverFlow>foo</TextOverFlow>
src/component/textOverFlow/TextOverFlow.tsx:20
▸ TreeHeader<AsTarget
, ForwardedAsTarget
>(props
): Element
Name | Type |
---|---|
AsTarget |
extends void | WebTarget = void |
ForwardedAsTarget |
extends void | WebTarget = void |
Name | Type |
---|---|
props |
PolymorphicComponentProps <"web" , FastOmit <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, never >, AsTarget , ForwardedAsTarget , AsTarget extends KnownTarget ? ComponentPropsWithRef <AsTarget <AsTarget >> : {}, ForwardedAsTarget extends KnownTarget ? ComponentPropsWithRef <ForwardedAsTarget <ForwardedAsTarget >> : {}> |
Element
src/component/TreeList/TreeList.tsx:15
▸ TreeHeader(props
): ReactNode
Name | Type |
---|---|
props |
FastOmit <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, never > |
ReactNode
src/component/TreeList/TreeList.tsx:15
▸ TreeItem<AsTarget
, ForwardedAsTarget
>(props
): Element
Name | Type |
---|---|
AsTarget |
extends void | WebTarget = void |
ForwardedAsTarget |
extends void | WebTarget = void |
Name | Type |
---|---|
props |
PolymorphicComponentProps <"web" , Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, TreeItemProps <{ [key: string] : any ; }>>, AsTarget , ForwardedAsTarget , AsTarget extends KnownTarget ? ComponentPropsWithRef <AsTarget <AsTarget >> : {}, ForwardedAsTarget extends KnownTarget ? ComponentPropsWithRef <ForwardedAsTarget <ForwardedAsTarget >> : {}> |
Element
src/component/TreeList/TreeList.tsx:27
▸ TreeItem(props
): ReactNode
Name | Type |
---|---|
props |
Substitute <DetailedHTMLProps <HTMLAttributes <HTMLDivElement >, HTMLDivElement >, TreeItemProps <{ [key: string] : any ; }>> |
ReactNode
src/component/TreeList/TreeList.tsx:27
▸ TreeList(«destructured»
): Element
Name | Type |
---|---|
«destructured» |
TreeListProps <{ [key: string] : any ; }> |
Element
src/component/TreeList/TreeList.tsx:51
▸ useTheme(): ThemeContextType
ThemeContextType