Giter Club home page Giter Club logo

Comments (9)

arvinxx avatar arvinxx commented on May 31, 2024

给个case?

from antd-style.

vscing avatar vscing commented on May 31, 2024

demo

这个只能这样强制覆盖写吗?

image

“新组件书写方案” 文档我看没写?我是直接拉的代码本地起的文档服务
image

from antd-style.

arvinxx avatar arvinxx commented on May 31, 2024

@vscing 如果只是 layout 的话,看下这个讨论:ant-design/ant-design#40879

“新组件书写方案” 文档我看没写?

还没写

from antd-style.

vscing avatar vscing commented on May 31, 2024

@vscing 如果只是 layout 的话,看下这个讨论:ant-design/ant-design#40879

“新组件书写方案” 文档我看没写?

还没写

有方案或者构思了吗?钉钉群有吗?项目在使用了。

from antd-style.

vscing avatar vscing commented on May 31, 2024

那我现在只能在layout定义一个样式,里面包含header上的className。或者是强制覆盖、再或者就类似迁移less 一样,直接return 一个 css``。感觉有点懵

from antd-style.

arvinxx avatar arvinxx commented on May 31, 2024

有方案或者构思了吗?钉钉群有吗?项目在使用了。

用createInstance

from antd-style.

arvinxx avatar arvinxx commented on May 31, 2024

那我现在只能在layout定义一个样式,里面包含header上的className。或者是强制覆盖、再或者就类似迁移less 一样,直接return 一个 css``。感觉有点懵

目前看就是要覆盖样式的。

from antd-style.

arvinxx avatar arvinxx commented on May 31, 2024

@vscing 看了下你的 demo,覆盖是覆盖,但写法有更好的:https://codesandbox.io/s/determined-dan-sw3wb7?file=/style.ts

from antd-style.

vscing avatar vscing commented on May 31, 2024

666

from antd-style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.