-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020-23 thinkholic | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React, { Component, ErrorInfo, ReactNode } from 'react'; | ||
interface Props { | ||
children?: ReactNode; | ||
} | ||
interface State { | ||
hasError: boolean; | ||
} | ||
declare class ErrorBoundary extends Component<Props, State> { | ||
state: State; | ||
static getDerivedStateFromError(_: Error): State; | ||
componentDidCatch(error: Error, errorInfo: ErrorInfo): void; | ||
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined; | ||
} | ||
export default ErrorBoundary; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import React from 'react'; | ||
export type PortalProps = { | ||
children: React.ReactNode; | ||
target?: string; | ||
}; | ||
export default function Portal({ children, target, }: PortalProps): React.ReactPortal; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// <reference types="react" /> | ||
/** | ||
* @check | ||
* - https://ogp.me | ||
* - https://ahrefs.com/blog/seo-meta-tags | ||
*/ | ||
type Props = { | ||
title: string; | ||
metaTags?: any[]; | ||
}; | ||
export default function SeoMeta({ title, metaTags }: Props): JSX.Element; | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as ErrorBoundary } from './ErrorBoundary'; | ||
export { default as Portal } from './Portal'; | ||
export { default as SeoMeta } from './SeoMeta'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import * as $ from '../generics'; | ||
export type { AccordionProps, AccordionItemProps } from '../generics'; | ||
export declare const Accordion: import("styled-components").StyledComponent<typeof $.Accordion, any, {}, never>; | ||
export declare const AccordionItem: import("styled-components").StyledComponent<typeof $.AccordionItem, any, {}, never>; | ||
export default Accordion; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { Alert } from '../generics'; | ||
export { Alert as default } from '../generics'; | ||
export type { AlertProps } from '../generics'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import * as $ from '../generics'; | ||
export type { ButtonProps } from '../generics'; | ||
export declare const Button: import("styled-components").StyledComponent<typeof $.Button, any, {}, never>; | ||
export default Button; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { Checkbox } from '../generics'; | ||
export { Checkbox as default } from '../generics'; | ||
export type { CheckboxProps } from '../generics'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { FileInput } from '../generics'; | ||
export { FileInput as default } from '../generics'; | ||
export type { FileInputProps } from '../generics'; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { List, ListItem } from '../generics'; | ||
export { List as default } from '../generics'; | ||
export type { ListProps, ListItemProps } from '../generics'; |