![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
uxcore-layout
Advanced tools
$ git clone https://github.com/uxcore/uxcore-layout
$ cd uxcore-layout
$ npm install
$ npm start
let Layout = require('../src');
let {Left, Right} = Layout;
let classnames = require('classnames');
class Demo extends React.Component {
constructor(props) {
super(props);
}
render() {
return <div>
<p>左侧自适应,右侧固定</p>
<Layout className="layoutDemo">
<Left adaptive={true} className="left">左</Left>
<Right width={190} className="right">右</Right>
</Layout>
<p>右侧自适应,左侧固定</p>
<Layout className="layoutDemo">
<Left width={190} className="left">左</Left>
<Right adaptive={true} className="right">右</Right>
</Layout>
<p>左右都固定</p>
<Layout className="layoutDemo">
<Left width={500} className="left">左</Left>
<Right width={500} className="right">右</Right>
</Layout>
</div>
}
}
module.exports = Demo;
配置项 | 类型 | 必填 | 默认值 | 功能/备注 |
---|---|---|---|---|
className | string | optional | "" | 加入额外的类名,在使用 kuma 的基础上进行适当的定制时会用得到 |
配置项 | 类型 | 必填 | 默认值 | 功能/备注 |
---|---|---|---|---|
className | string | optional | 加入额外的类名,在使用 kuma 的基础上进行适当的定制时会用得到 | |
width | number | optional | 500 | 布局块的宽度,仅在定宽时起作用 |
adaptive | boolean | optional | 是否为自适应,未设定 adaptive=true 的一侧,则为定宽,不可两者皆为自适应 |
FAQs
uxcore-layout ui component for react
The npm package uxcore-layout receives a total of 9 weekly downloads. As such, uxcore-layout popularity was classified as not popular.
We found that uxcore-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.