props types should be exported for tests
This commit is contained in:
parent
1ee962fbd8
commit
fc2adae6bd
@ -74,7 +74,7 @@ function locationAsText(l: Location | undefined): VNode {
|
||||
|
||||
type State = States.Loading | States.Error | States.Hidden | States.Show;
|
||||
|
||||
namespace States {
|
||||
export namespace States {
|
||||
export interface Loading {
|
||||
status: "loading";
|
||||
hideHandler: ButtonHandler;
|
||||
|
@ -50,7 +50,7 @@ const Container = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
interface Props {
|
||||
export interface Props {
|
||||
onDetected: (url: string) => void;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user