Skip to content

(feature) CSS calc function #418

@KingAmo

Description

@KingAmo

Describe the issue

import { css } from 'react-strict-dom';

const styles = css.create({
  test: {
    width: 150,
    height: 'calc(100px + 50px)',
    backgroundColor: 'pink',
  },
});

css calc not work in react native (it works in web)

Expected behavior

css calc works in react native

Steps to reproduce

code above

Test case

No response

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature or technical request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions