mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The justifyContent style for the test now uses a new css property for `justify-content` that has been introduced.
38 lines
1.6 KiB
TypeScript
38 lines
1.6 KiB
TypeScript
import * as React from 'react';
|
|
|
|
const initialStyle: React.CSSProperties = { fontWeight: 'initial' };
|
|
const initialStyleTest = <div style={initialStyle} />;
|
|
|
|
const backgroundAttachmentStyle: React.CSSProperties = { backgroundAttachment: 'fixed' };
|
|
const backgroundAttachmentStyleTest = <div style={backgroundAttachmentStyle} />;
|
|
|
|
const columnCountStyle: React.CSSProperties = { columnCount: 'auto' };
|
|
const columnCountStyleTest = <div style={columnCountStyle} />;
|
|
|
|
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-evenly' };
|
|
const justifyContentStyleTest = <div style={justifyContentStyle} />;
|
|
|
|
|
|
// SVG specific style attribute declarations
|
|
|
|
const fillOpacityStyle: React.CSSProperties = { fillOpacity: 0.3 };
|
|
const fillOpacityStyleTest = <svg style={fillOpacityStyle} />;
|
|
|
|
const strokeOpacityStyle: React.CSSProperties = { strokeOpacity: 0.3 };
|
|
const strokeOpacityStyleTest = <svg style={strokeOpacityStyle} />;
|
|
|
|
const strokeWidthStyle: React.CSSProperties = { strokeWidth: '10px' };
|
|
const strokeWidthStyleTest = <svg style={strokeWidthStyle} />;
|