From 2c4bcb9c39af0a8f45cec9dc9be4f789b4841170 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 4 Nov 2022 02:45:34 +0900 Subject: [PATCH] Create CssObject type --- front/packages/youshiki/examples/api.tsx | 38 ++++++++++++ front/packages/youshiki/package.json | 23 +++++++ front/packages/youshiki/src/native.ts | 34 +++++++++++ front/packages/youshiki/src/react.ts | 33 ++++++++++ front/packages/youshiki/src/type.ts | 36 +++++++++++ front/packages/youshiki/tsconfig.json | 26 ++++++++ front/yarn.lock | 77 ++++++------------------ 7 files changed, 210 insertions(+), 57 deletions(-) create mode 100644 front/packages/youshiki/examples/api.tsx create mode 100644 front/packages/youshiki/package.json create mode 100644 front/packages/youshiki/src/native.ts create mode 100644 front/packages/youshiki/src/react.ts create mode 100644 front/packages/youshiki/src/type.ts create mode 100755 front/packages/youshiki/tsconfig.json diff --git a/front/packages/youshiki/examples/api.tsx b/front/packages/youshiki/examples/api.tsx new file mode 100644 index 00000000..2a6593bb --- /dev/null +++ b/front/packages/youshiki/examples/api.tsx @@ -0,0 +1,38 @@ +/* + * Kyoo - A portable and vast media library solution. + * Copyright (c) Kyoo. + * + * See AUTHORS.md and LICENSE file in the project root for full license information. + * + * Kyoo is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * Kyoo is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Kyoo. If not, see . + */ + +import { Button } from "react-native"; + +/* import { css } from "youshiki/native"; */ +import { css } from "../src/native"; + +export const ExampleButton = () => { + return ( +