1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 10:46:13 +02:00

Update React imports

This commit is contained in:
Phuoc Nguyen
2021-04-01 17:01:38 +07:00
parent 538e5f750e
commit ebc2586a3f
200 changed files with 216 additions and 216 deletions

View File

@@ -3,7 +3,7 @@
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
*/
import React from 'react';
import * as React from 'react';
import Circle from '../../placeholders/Circle';
import Frame from '../../placeholders/Frame';

View File

@@ -3,7 +3,7 @@
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
*/
import React, { useState } from 'react';
import * as React from 'react';
import { Helmet } from 'react-helmet';
import RelatedPatterns from '../../components/RelatedPatterns';
@@ -17,7 +17,7 @@ interface RadioProps {
}
const Details: React.FC<{}> = () => {
const [selectedValue, setSelectedValue] = useState('1');
const [selectedValue, setSelectedValue] = React.useState('1');
const Radio: React.FC<RadioProps> = ({ value, children }) => {
const click = () => setSelectedValue(value);