mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-11 03:27:47 +08:00
20 lines
856 B
TypeScript
20 lines
856 B
TypeScript
import * as React from 'react';
|
|
|
|
const initialStyle: React.CSSProperties = { fontWeight: 'initial' };
|
|
const initialStyleTest = <div style={initialStyle} />;
|
|
|
|
const fontSizeAdjustStyle: React.CSSProperties = { fontSizeAdjust: 'none' };
|
|
const fontSizeAdjustStyleTest = <div style={fontSizeAdjustStyle} />;
|
|
|
|
const fontStretchStyle: React.CSSProperties = { fontStretch: 'condensed' };
|
|
const fontStretchStyleTest = <div style={fontStretchStyle} />;
|
|
|
|
const fontStyleStyle: React.CSSProperties = { fontStyle: 'italic' };
|
|
const fontStyleStyleTest = <div style={fontStyleStyle} />;
|
|
|
|
const fontWeightStyle: React.CSSProperties = { fontWeight: 400 };
|
|
const fontWeightStyleTest = <div style={fontWeightStyle} />;
|
|
|
|
const justifyContentStyle: React.CSSProperties = { justifyContent: 'space-around' };
|
|
const justifyContentStyleTest = <div style={justifyContentStyle} />;
|