Skip to content

Commit 5460a2c

Browse files
committed
docs: Remove all component from homepage
1 parent 393f5ec commit 5460a2c

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/src/routes/Home/index.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import FlipViewItem from "./components/FlipViewItem";
1313
import Categories from "./components/Categories";
1414
import Banner from "./components/Banner";
1515
import CustomTheme from "./components/CustomTheme";
16-
import IndexOfComponentsByFunction from "../Components/IndexOfComponentsByFunction";
1716

1817
const docVersion = getRootPath();
1918
export interface DataProps extends WrapperState {}
@@ -130,16 +129,6 @@ export default class Home extends React.Component<HomeProps, HomeState> {
130129
height={((isPhoneScreen ? window.innerWidth : renderContentWidth) as any) / 2}
131130
/>
132131
</div>
133-
<IndexOfComponentsByFunction
134-
style={{
135-
padding: 20,
136-
margin: "0 auto",
137-
width: renderContentWidth,
138-
background: theme.useFluentDesign ? theme.acrylicTexture80.background : (
139-
theme.isDarkTheme ? "hsla(0, 0%, 3%, 1)" : "hsla(0, 0%, 97%, 1)"
140-
)
141-
}}
142-
/>
143132

144133
<Toast
145134
defaultShow={showToast}

src/Theme/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import IS_NODE_ENV from "../utils/nodeJS/IS_NODE_ENV";
1313
export { getTheme };
1414
export interface DataProps {
1515
/**
16-
* Set theme object. [ThemeType](https://github.com/myxvisual/react-uwp/blob/master/typings/index.d.ts#L43), Usually use [getTheme](https://github.com/myxvisual/react-uwp/blob/master/src/styles/getTheme.ts#L28) function to get it.
16+
* Set theme object. [ThemeType](https://github.com/myxvisual/react-uwp/blob/master/src/index.d.ts#L43), Usually use [getTheme](https://github.com/myxvisual/react-uwp/blob/master/src/styles/getTheme.ts#L28) function to get it.
1717
*/
1818
theme?: ThemeType;
1919
/**

0 commit comments

Comments
 (0)