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;
|
type State = States.Loading | States.Error | States.Hidden | States.Show;
|
||||||
|
|
||||||
namespace States {
|
export namespace States {
|
||||||
export interface Loading {
|
export interface Loading {
|
||||||
status: "loading";
|
status: "loading";
|
||||||
hideHandler: ButtonHandler;
|
hideHandler: ButtonHandler;
|
||||||
|
@ -50,7 +50,7 @@ const Container = styled.div`
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
interface Props {
|
export interface Props {
|
||||||
onDetected: (url: string) => void;
|
onDetected: (url: string) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user