Skip to content

Commit

Permalink
Merge pull request #28 from BouyguesTelecom/remove/components-part2
Browse files Browse the repository at this point in the history
Remove components part2
  • Loading branch information
JulienMora authored Apr 26, 2024
2 parents 3474767 + f967627 commit 23460aa
Show file tree
Hide file tree
Showing 39 changed files with 23 additions and 1,279 deletions.
20 changes: 11 additions & 9 deletions examples/react-template/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import { Router } from './router'
import { HashRouter } from 'react-router-dom'
import * as React from "react";
import * as ReactDOM from "react-dom/client";
import { HashRouter } from "react-router-dom";
import { TrilogyProviderStyled } from "@trilogy-ds/react/context/providerStyled";
import { Router } from "./router";

ReactDOM.render(
const rootElement = document.getElementById("root");
const root = ReactDOM.createRoot(rootElement);

root.render(
<React.StrictMode>
<TrilogyProviderStyled>
<HashRouter>
<Router></Router>
<Router />
</HashRouter>
</TrilogyProviderStyled>
</React.StrictMode>,
document.getElementById('root'),
)
</React.StrictMode>
);
23 changes: 0 additions & 23 deletions examples/react-template/screens/Disclaimer.tsx

This file was deleted.

186 changes: 0 additions & 186 deletions examples/react-template/screens/Slider.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions examples/react-template/screens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export * from "./Chips";
export * from "./Column";
export * from "./Container";
export * from "./CountDown";
export * from "./Disclaimer";
export * from "./Divider";
export * from "./Dropdown";
export * from "./Fab";
Expand All @@ -35,7 +34,6 @@ export * from "./Radio";
export * from "./Range";
export * from "./SegmentedControl";
export * from "./Select";
export * from "./Slider";
export * from "./Stepper";
export * from "./Sticker";
export * from "./Switch";
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trilogy-ds/assets",
"version": "0.0.1-beta.11",
"version": "0.0.1-beta.12",
"description": "Trilogy assets include all Open Source Fonts & Icons",
"author": "Bouygues Telecom",
"type": "module",
Expand Down
47 changes: 0 additions & 47 deletions packages/react/components/disclaimer/Disclaimer.native.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions packages/react/components/disclaimer/Disclaimer.stories.tsx

This file was deleted.

Loading

0 comments on commit 23460aa

Please sign in to comment.