-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Closed
Description
Take for example a Form:
<div>
<Form onSubmit={this.handleSubmit} className="login-form">
<FormItem>
{getFieldDecorator("userName", {
rules: [
{ required: true, message: "Please input your username!" }
]
})(
<Input
prefix={<Icon type="user" style={{ fontSize: 13 }} />}
placeholder="Username"
/>
)}
</FormItem>
</Form>
<style jsx>{`
.login-form {
max-width: 300px;
margin: 0 auto;
}
`}</style>
</div>
The style doesn't apply to the Form unless we change <style jsx> to <style>
It doesn't generate data-jsx Id for the form component.
is this behavior expected?
Metadata
Metadata
Assignees
Labels
No labels